mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
replaceVarsWith: properly set pname, version
Link: https://github.com/NixOS/nixpkgs/issues/485742 Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
57e69b6f17
commit
94c6cc8ea1
1 changed files with 2 additions and 1 deletions
|
|
@ -122,7 +122,8 @@ in
|
|||
|
||||
stdenvNoCC.mkDerivation (
|
||||
{
|
||||
name = baseNameOf src;
|
||||
pname = optionalAttrs.pname or optionalAttrs.name or (baseNameOf src);
|
||||
version = "26.11pre-git";
|
||||
}
|
||||
// optionalAttrs
|
||||
// forcedAttrs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue