From cc6c7907469976c4371dddcdb209da7062854b82 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 7 May 2023 22:51:10 +0100 Subject: [PATCH] set up path for min-copy-closure --- pkgs/min-copy-closure/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/min-copy-closure/default.nix b/pkgs/min-copy-closure/default.nix index 298ce67..ec77177 100644 --- a/pkgs/min-copy-closure/default.nix +++ b/pkgs/min-copy-closure/default.nix @@ -2,12 +2,14 @@ stdenv , nix , cpio +, openssh }: stdenv.mkDerivation { name = "min-copy-closure"; - buildInputs = [ nix cpio ]; + buildInputs = [ ]; + propagatedBuildInputs = [ cpio openssh nix ]; src = ./.; installPhase = '' mkdir -p $out/bin - cp min-copy-closure.sh $out/bin/nix-copy-closure + cp min-copy-closure.sh $out/bin/min-copy-closure ''; }