mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
components.nix: Simplify with scope
This commit is contained in:
parent
85de5a60c7
commit
74b9b77c9f
2 changed files with 16 additions and 57 deletions
|
@ -178,7 +178,7 @@
|
|||
# we can iterate over.
|
||||
nixComponents = lib.makeScope final.newScope (import ./packaging/components.nix {
|
||||
pkgs = final;
|
||||
inherit stdenv versionSuffix officialRelease;
|
||||
inherit stdenv versionSuffix;
|
||||
});
|
||||
|
||||
nix = final.nixComponents.nix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue