forked from dan/liminix
1
0
Fork 0

set up path for min-copy-closure

This commit is contained in:
Daniel Barlow 2023-05-07 22:51:10 +01:00
parent bcf5dac5d7
commit cc6c790746
1 changed files with 4 additions and 2 deletions

View File

@ -2,12 +2,14 @@
stdenv
, nix
, cpio
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
buildInputs = [ nix cpio ];
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
cp min-copy-closure.sh $out/bin/nix-copy-closure
cp min-copy-closure.sh $out/bin/min-copy-closure
'';
}