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.
This commit is contained in:
Eelco Dolstra 2022-01-24 20:02:17 +01:00
parent cb2f8a87d5
commit 55ae086747

View file

@ -76,7 +76,7 @@ in rec {
bundledByPath = true;
name = gemName;
version = version;
outPath = path;
outPath = "${path}";
outputs = [ "out" ];
out = res;
outputName = "out";