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

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
'';
}