summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-24 20:02:17 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-01-25 19:13:49 +0000
commit01b7f0dda28a55c365a8d23451aa66cbe91aa86b (patch)
tree10df955cb6e71283edcfe407f9989007094e0a97
parentCheck that nix-env output doesn't depend on the Nixpkgs location (diff)
downloadnixpkgs-01b7f0dda28a55c365a8d23451aa66cbe91aa86b.tar.gz
pathDerivation: Copy path
Otherwise you end up with a derivation that refers to the original path (which is not in the Nix store and not accessible to builders). This caused the derivation paths for the docbookrx package (removed on master) to depend on the location of the nixpkgs source tree. (cherry picked from commit 55ae086747caa71b92f6713a58a909acef944705)
-rw-r--r--pkgs/development/ruby-modules/bundled-common/functions.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundled-common/functions.nix b/pkgs/development/ruby-modules/bundled-common/functions.nix
index 35307a3fbd93..746eb2bb112a 100644
--- a/pkgs/development/ruby-modules/bundled-common/functions.nix
+++ b/pkgs/development/ruby-modules/bundled-common/functions.nix
@@ -76,7 +76,7 @@ in rec {
bundledByPath = true;
name = gemName;
version = version;
- outPath = path;
+ outPath = "${path}";
outputs = [ "out" ];
out = res;
outputName = "out";