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 680d0c9f37
commit ad848ef89d

View file

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