tests.stubs: set pname

This commit is contained in:
amesgen 2022-08-07 14:03:37 +02:00 committed by Robert Helgesson
parent 324fedcf9f
commit 78f964347c
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -40,7 +40,7 @@ let
pkg = if name == "dummy" && buildScript == defaultBuildScript then
dummyPackage
else
pkgs.runCommandLocal name { } buildScript;
pkgs.runCommandLocal name { pname = name; } buildScript;
in pkg // optionalAttrs (outPath != null) { inherit outPath; }
// optionalAttrs (version != null) { inherit version; };