random bullshit go
This commit is contained in:
parent
edb63704ab
commit
7f35171999
1 changed files with 12 additions and 4 deletions
|
@ -77,8 +77,8 @@
|
|||
};
|
||||
in sandboxed.config.env;
|
||||
baseWrapped = sandboxFirefox prev.firefox-esr;
|
||||
in
|
||||
baseWrapped // {
|
||||
|
||||
finalizePackage = base: base // {
|
||||
inherit (prev.firefox-esr)
|
||||
meta
|
||||
browserName
|
||||
|
@ -86,7 +86,15 @@
|
|||
version;
|
||||
|
||||
unwrapped = prev.firefox-esr;
|
||||
override = attrs: baseWrapped;
|
||||
overrideAttrs = f: baseWrapped;
|
||||
|
||||
override = attrs: let
|
||||
firefoxWithCfg = if attrs ? cfg
|
||||
then prev.firefox-esr.override attrs
|
||||
else prev.firefox-esr;
|
||||
in finalizePackage (sandboxFirefox firefoxWithCfg);
|
||||
|
||||
overrideAttrs = f: finalizePackage (sandboxFirefox prev.firefox-esr);
|
||||
};
|
||||
in
|
||||
finalizePackage baseWrapped;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue