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
1 changed files with 1 additions and 1 deletions

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; };