Fix propagation of bsc.extend

Fixes #82
This commit is contained in:
Rodrigo Arias 2020-12-11 17:15:05 +01:00
parent 5a8cc1e514
commit 9646a1298d

View File

@ -6,7 +6,6 @@ with self.lib;
let let
inherit (self.lib) callPackageWith; inherit (self.lib) callPackageWith;
inherit (self.lib) callPackagesWith; inherit (self.lib) callPackagesWith;
callPackage = callPackageWith (self // self.bsc // self.bsc.garlic);
appendPasstru = drv: attrs: drv.overrideAttrs (old:{ appendPasstru = drv: attrs: drv.overrideAttrs (old:{
passthru = old.passthru // attrs; passthru = old.passthru // attrs;
@ -16,8 +15,11 @@ let
# BSC Packages # BSC Packages
# =================================================================== # ===================================================================
_bsc = makeExtensible (bsc: { _bsc = makeExtensible (bsc:
let
callPackage = callPackageWith (self // bsc // bsc.garlic);
in
{
inherit callPackage; inherit callPackage;
# ================================================================= # =================================================================