pkgs: make use of scoping

This is the way to make sure `callPackage` picks up my custom packages
to be used in the set.
This commit is contained in:
Bruno BELANYI 2021-09-15 15:33:18 +02:00
parent 02992d819e
commit 8c0b70dcb5

View file

@ -1,5 +1,5 @@
{ pkgs }: { pkgs }:
rec { pkgs.lib.makeScope pkgs.newScope (pkgs: {
bw-pass = pkgs.callPackage ./bw-pass { }; bw-pass = pkgs.callPackage ./bw-pass { };
comma = pkgs.callPackage ./comma { }; comma = pkgs.callPackage ./comma { };
@ -24,9 +24,7 @@ rec {
volantes-cursors = pkgs.callPackage ./volantes-cursors { }; volantes-cursors = pkgs.callPackage ./volantes-cursors { };
unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock { unbound-zones-adblock = pkgs.callPackage ./unbound-zones-adblock { };
inherit unified-hosts-lists;
};
unified-hosts-lists = pkgs.callPackage ./unified-hosts-lists { }; unified-hosts-lists = pkgs.callPackage ./unified-hosts-lists { };
} })