mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
components.nix: Simplify
This commit is contained in:
parent
25dc12aab1
commit
c24dbf1457
@ -176,10 +176,7 @@
|
||||
# without "polluting" the top level "`pkgs`" attrset.
|
||||
# This also has the benefit of providing us with a distinct set of packages
|
||||
# we can iterate over.
|
||||
nixComponents = lib.makeScope final.nixDependencies.newScope (import ./packaging/components.nix {
|
||||
pkgs = final;
|
||||
inherit stdenv versionSuffix;
|
||||
});
|
||||
nixComponents = lib.makeScope final.nixDependencies.newScope (import ./packaging/components.nix);
|
||||
|
||||
# The dependencies are in their own scope, so that they don't have to be
|
||||
# in Nixpkgs top level `pkgs` or `nixComponents`.
|
||||
|
@ -1,4 +1,4 @@
|
||||
{pkgs, stdenv, versionSuffix}: scope:
|
||||
scope:
|
||||
let
|
||||
inherit (scope) callPackage;
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user