firefox nix derivation weird refactoring
This commit is contained in:
parent
cbf1e67c7d
commit
00b84a4d8f
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731319897,
|
"lastModified": 1731676054,
|
||||||
"narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
|
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
|
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
packages.x86_64-linux = rec {
|
packages.x86_64-linux = rec {
|
||||||
default = firefox-patched-unwrapped;
|
default = firefox-patched-unwrapped;
|
||||||
|
|
||||||
firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override {
|
firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override (prev: { buildMozillaMach = args: ((prev.buildMozillaMach args).override ({
|
||||||
geolocationSupport = false;
|
geolocationSupport = false;
|
||||||
googleAPISupport = false;
|
googleAPISupport = false;
|
||||||
drmSupport = false;
|
drmSupport = false;
|
||||||
|
|
||||||
requireSigning = false;
|
requireSigning = false;
|
||||||
allowAddonSideload = true;
|
allowAddonSideload = true;
|
||||||
}).overrideAttrs (oldAttrs: rec {
|
})).overrideAttrs (oldAttrs: rec {
|
||||||
patches = oldAttrs.patches ++ [
|
patches = oldAttrs.patches ++ [
|
||||||
# I want to preconfigure the search engine settings to make
|
# I want to preconfigure the search engine settings to make
|
||||||
# DuckDuckGo the default search engine and remove most of the
|
# DuckDuckGo the default search engine and remove most of the
|
||||||
|
@ -33,6 +33,7 @@
|
||||||
./allow-debugging.patch
|
./allow-debugging.patch
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
|
|
Loading…
Reference in a new issue