TODO: fold
This commit is contained in:
parent
d3f7a036ce
commit
3831c6f087
|
@ -147,7 +147,7 @@ let
|
||||||
# take the nearly-final sandboxed package, with binaries and and else, and
|
# take the nearly-final sandboxed package, with binaries and and else, and
|
||||||
# populate passthru attributes the caller expects, like `sandboxProfiles` and `checkSandboxed`.
|
# populate passthru attributes the caller expects, like `sandboxProfiles` and `checkSandboxed`.
|
||||||
fixupMetaAndPassthru = pkgName: pkg: sandboxProfiles: extraPassthru: pkg.overrideAttrs (orig: let
|
fixupMetaAndPassthru = pkgName: pkg: sandboxProfiles: extraPassthru: pkg.overrideAttrs (orig: let
|
||||||
final = fixupMetaAndPassthru pkgName pkg sandboxProfiles;
|
final = fixupMetaAndPassthru pkgName pkg sandboxProfiles extraPassthru;
|
||||||
in {
|
in {
|
||||||
meta = (orig.meta or {}) // {
|
meta = (orig.meta or {}) // {
|
||||||
# take precedence over non-sandboxed versions of the same binary.
|
# take precedence over non-sandboxed versions of the same binary.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user