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 stdenv
, nix , nix
, cpio , cpio
, openssh
}: stdenv.mkDerivation { }: stdenv.mkDerivation {
name = "min-copy-closure"; name = "min-copy-closure";
buildInputs = [ nix cpio ]; buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.; src = ./.;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp min-copy-closure.sh $out/bin/nix-copy-closure cp min-copy-closure.sh $out/bin/min-copy-closure
''; '';
} }