From e1053cb07119f6fcfd742914276421dffb35e06d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 Mar 2020 09:39:14 +0100 Subject: [PATCH] librustzcash: improve robustness of installPhase --- pkgs/applications/blockchains/zcash/librustzcash/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/blockchains/zcash/librustzcash/default.nix b/pkgs/applications/blockchains/zcash/librustzcash/default.nix index 6cd2ae018fb6..526adc715d45 100644 --- a/pkgs/applications/blockchains/zcash/librustzcash/default.nix +++ b/pkgs/applications/blockchains/zcash/librustzcash/default.nix @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { installPhase = '' mkdir -p $out/lib - cp target/release/librustzcash.a $out/lib/ + cp $releaseDir/librustzcash.a $out/lib/ mkdir -p $out/include cp librustzcash/include/librustzcash.h $out/include/ '';