forked from DGNum/liminix
b0098f1c8e
we don't want it in the same package as min-copy-closure as that depends on bash
18 lines
324 B
Nix
18 lines
324 B
Nix
{
|
|
stdenv
|
|
, nix
|
|
, cpio
|
|
, openssh
|
|
}: stdenv.mkDerivation {
|
|
name = "min-copy-closure";
|
|
buildInputs = [ ];
|
|
propagatedBuildInputs = [ cpio openssh nix ];
|
|
src = ./.;
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
for i in min-copy-closure liminix-rebuild; do
|
|
echo $i
|
|
cp ''${i}.sh $out/bin/$i
|
|
done
|
|
'';
|
|
}
|