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

16 lines
273 B
Nix
Raw Normal View History

{
stdenv
, nix
, cpio
2023-05-07 23:51:10 +02:00
, openssh
}: stdenv.mkDerivation {
name = "min-copy-closure";
2023-05-07 23:51:10 +02:00
buildInputs = [ ];
propagatedBuildInputs = [ cpio openssh nix ];
src = ./.;
installPhase = ''
mkdir -p $out/bin
2023-05-07 23:51:10 +02:00
cp min-copy-closure.sh $out/bin/min-copy-closure
'';
}