forked from mirrors/nixpkgs
haskell-generic-builder: pass pname and version as is
This is a full set rebuild, however it improves the name generation for the static and cross case since the respective additional components are now inserted between pname and version instead of after name like before. This prevents builtins.parseDrvName from mistaking a platform config string for a version component.
This commit is contained in:
parent
29229016f9
commit
5e0c55b581
|
@ -289,7 +289,7 @@ in lib.fix (drv:
|
|||
assert allPkgconfigDepends != [] -> pkg-config != null;
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
name = "${pname}-${version}";
|
||||
inherit pname version;
|
||||
|
||||
outputs = [ "out" ]
|
||||
++ (optional enableSeparateDataOutput "data")
|
||||
|
|
Loading…
Reference in a new issue