firefox nix derivation weird refactoring

This commit is contained in:
xenofem 2024-11-18 18:03:05 -05:00
parent cbf1e67c7d
commit 00b84a4d8f
2 changed files with 6 additions and 5 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1731319897,
"narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
"lastModified": 1731676054,
"narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add",
"type": "github"
},
"original": {

View file

@ -9,14 +9,14 @@
packages.x86_64-linux = rec {
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;
googleAPISupport = false;
drmSupport = false;
requireSigning = false;
allowAddonSideload = true;
}).overrideAttrs (oldAttrs: rec {
})).overrideAttrs (oldAttrs: rec {
patches = oldAttrs.patches ++ [
# I want to preconfigure the search engine settings to make
# DuckDuckGo the default search engine and remove most of the
@ -33,6 +33,7 @@
./allow-debugging.patch
];
});
}));
};
overlay = final: prev: {