hosts/packages/directory.nix

9 lines
164 B
Nix

{ stdenv, name, source }:
stdenv.mkDerivation rec {
inherit name;
phases = [ "installPhase" ];
installPhase = ''
cp -R ${source} $out
'';
}