mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
makeSetupHook: support structuredAttrs to unbreak adding to by-name
This commit is contained in:
parent
711ab3d132
commit
b444726098
1 changed files with 2 additions and 1 deletions
|
|
@ -723,6 +723,7 @@ rec {
|
|||
meta ? { },
|
||||
passthru ? { },
|
||||
substitutions ? { },
|
||||
__structuredAttrs ? false,
|
||||
}@args:
|
||||
script:
|
||||
runCommand name
|
||||
|
|
@ -735,7 +736,7 @@ rec {
|
|||
# TODO(@Artturin:) substitutions should be inside the env attrset
|
||||
# but users are likely passing non-substitution arguments through substitutions
|
||||
# turn off __structuredAttrs to unbreak substituteAll
|
||||
__structuredAttrs = false;
|
||||
inherit __structuredAttrs;
|
||||
pname = name;
|
||||
version = "26.05pre-git";
|
||||
inherit meta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue