forked from DGNum/liminix
b0098f1c8e
we don't want it in the same package as min-copy-closure as that depends on bash
17 lines
346 B
Nix
17 lines
346 B
Nix
{
|
|
stdenv
|
|
, nix
|
|
, cpio
|
|
, openssh
|
|
}: stdenv.mkDerivation {
|
|
name = "min-collect-garbage";
|
|
buildInputs = [ ];
|
|
# propagatedBuildInputs = [ openssh ];
|
|
src = ./.;
|
|
makeFlags = [ "min-list-garbage" ];
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp min-collect-garbage.sh $out/bin/min-collect-garbage
|
|
cp min-list-garbage $out/bin
|
|
'';
|
|
}
|