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 = "";
|
".parallel/will-cite".text = "";
|
||||||
".ssh/config".text = ssh.text;
|
".ssh/config".text = ssh.text;
|
||||||
".template".source = ./template;
|
".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_master".source = inputs.nixpkgs;
|
||||||
# ".nixpkgs_unstable".source = inputs.nixpkgs;
|
# ".nixpkgs_unstable".source = inputs.nixpkgs;
|
||||||
# TODO: Add after migrating to stable.
|
# TODO: Add after migrating to stable.
|
||||||
|
|
|
@ -10,20 +10,22 @@ buildNpmPackage rec {
|
||||||
pname = "dark-reader";
|
pname = "dark-reader";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "darkreader";
|
# owner = "darkreader";
|
||||||
|
owner = "voronind-com";
|
||||||
repo = "darkreader";
|
repo = "darkreader";
|
||||||
rev = "v${version}";
|
# rev = "v${version}";
|
||||||
hash = "sha256-2AYIFVTTMns1u0jKk3XeFuYdC1MfG9aOCMjAfZtlXuI=";
|
rev = "ddd532cb92594d2f4a73480dae6e6c024657dfe2";
|
||||||
|
hash = "sha256-mONoHe/Aphm6T5UcucxlzMLDaNnqIKd35uCAVoYlJ8s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
npmDepsHash = "sha256-dSuCL8GZXiksqVQ+TypzOdAROn3q30ExaGCJu72GLyY=";
|
npmDepsHash = "sha256-e41PXGgoQkVSHQj6kElqXPhzc6irnr09ltBAPmcUjik=";
|
||||||
|
|
||||||
patches = [
|
# patches = [
|
||||||
(fetchpatch {
|
# (fetchpatch {
|
||||||
url = "https://github.com/darkreader/darkreader/pull/12920.diff";
|
# url = "https://github.com/darkreader/darkreader/pull/12920.diff";
|
||||||
hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic=";
|
# hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic=";
|
||||||
})
|
# })
|
||||||
];
|
# ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
Loading…
Reference in a new issue