set up path for min-copy-closure

module-based-network
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 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
''; '';
} }