Dark Reader: Run custom patch that forces managed settings.
This commit is contained in:
parent
7028d14141
commit
56d0d52f91
|
@ -54,7 +54,6 @@ in
|
|||
".parallel/will-cite".text = "";
|
||||
".ssh/config".text = ssh.text;
|
||||
".template".source = ./template;
|
||||
".mozilla/firefox/default/storage-sync-v2.sqlite".text = ""; # NOTE: Fix for Dark Reader not reloading policy values.
|
||||
# ".nixpkgs_master".source = inputs.nixpkgs;
|
||||
# ".nixpkgs_unstable".source = inputs.nixpkgs;
|
||||
# TODO: Add after migrating to stable.
|
||||
|
|
|
@ -10,20 +10,22 @@ buildNpmPackage rec {
|
|||
pname = "dark-reader";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darkreader";
|
||||
# owner = "darkreader";
|
||||
owner = "voronind-com";
|
||||
repo = "darkreader";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2AYIFVTTMns1u0jKk3XeFuYdC1MfG9aOCMjAfZtlXuI=";
|
||||
# rev = "v${version}";
|
||||
rev = "ddd532cb92594d2f4a73480dae6e6c024657dfe2";
|
||||
hash = "sha256-mONoHe/Aphm6T5UcucxlzMLDaNnqIKd35uCAVoYlJ8s=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-dSuCL8GZXiksqVQ+TypzOdAROn3q30ExaGCJu72GLyY=";
|
||||
npmDepsHash = "sha256-e41PXGgoQkVSHQj6kElqXPhzc6irnr09ltBAPmcUjik=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/darkreader/darkreader/pull/12920.diff";
|
||||
hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic=";
|
||||
})
|
||||
];
|
||||
# patches = [
|
||||
# (fetchpatch {
|
||||
# url = "https://github.com/darkreader/darkreader/pull/12920.diff";
|
||||
# hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic=";
|
||||
# })
|
||||
# ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
|
Loading…
Reference in a new issue