set up path for min-copy-closure
This commit is contained in:
parent
bcf5dac5d7
commit
cc6c790746
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue