tests.stubs: set pname
This commit is contained in:
parent
324fedcf9f
commit
78f964347c
|
@ -40,7 +40,7 @@ let
|
||||||
pkg = if name == "dummy" && buildScript == defaultBuildScript then
|
pkg = if name == "dummy" && buildScript == defaultBuildScript then
|
||||||
dummyPackage
|
dummyPackage
|
||||||
else
|
else
|
||||||
pkgs.runCommandLocal name { } buildScript;
|
pkgs.runCommandLocal name { pname = name; } buildScript;
|
||||||
in pkg // optionalAttrs (outPath != null) { inherit outPath; }
|
in pkg // optionalAttrs (outPath != null) { inherit outPath; }
|
||||||
// optionalAttrs (version != null) { inherit version; };
|
// optionalAttrs (version != null) { inherit version; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue