From 55ae086747caa71b92f6713a58a909acef944705 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 24 Jan 2022 20:02:17 +0100 Subject: [PATCH] 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. --- pkgs/development/ruby-modules/bundled-common/functions.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";