forked from dan/liminix
1
0
Fork 0
liminix/pkgs/min-copy-closure/default.nix

19 lines
324 B
Nix

{
stdenv
, nix
, cpio
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
for i in min-copy-closure liminix-rebuild; do
echo $i
cp ''${i}.sh $out/bin/$i
done
'';
}