1
0
liminix/pkgs/min-copy-closure/default.nix

24 lines
342 B
Nix
Raw Normal View History

{
stdenv,
nix,
cpio,
openssh,
}:
stdenv.mkDerivation {
name = "min-copy-closure";
2023-05-07 21:51:10 +00:00
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
'';
}