1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

components.nix: Simplify with scope

This commit is contained in:
Robert Hensing 2024-06-26 03:33:30 +02:00
parent 85de5a60c7
commit 74b9b77c9f
2 changed files with 16 additions and 57 deletions

View file

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