diff --git a/overlay.nix b/overlay.nix index 901edeb..70be4db 100644 --- a/overlay.nix +++ b/overlay.nix @@ -6,7 +6,6 @@ with self.lib; let inherit (self.lib) callPackageWith; inherit (self.lib) callPackagesWith; - callPackage = callPackageWith (self // self.bsc // self.bsc.garlic); appendPasstru = drv: attrs: drv.overrideAttrs (old:{ passthru = old.passthru // attrs; @@ -16,8 +15,11 @@ let # BSC Packages # =================================================================== - _bsc = makeExtensible (bsc: { - + _bsc = makeExtensible (bsc: + let + callPackage = callPackageWith (self // bsc // bsc.garlic); + in + { inherit callPackage; # =================================================================