mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 10:19:48 +01:00
tests.stubs: set pname
This commit is contained in:
parent
324fedcf9f
commit
78f964347c
1 changed files with 1 additions and 1 deletions
|
@ -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; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue