1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-23 20:22:04 +03:00

overlays: fix darkwin builds

This commit is contained in:
Timothy DeHerrera 2021-01-03 00:02:28 -07:00
parent 77a5bd36a3
commit 51deae41cc
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 11 additions and 2 deletions

View File

@ -1,11 +1,11 @@
final: prev: { final: prev: {
# with sway/wayland support # with sway/wayland support
redshift = prev.redshift.overrideAttrs (o: { redshift = (prev.redshift.overrideAttrs (o: {
src = prev.fetchFromGitHub { src = prev.fetchFromGitHub {
owner = "minus7"; owner = "minus7";
repo = "redshift"; repo = "redshift";
rev = "wayland"; rev = "wayland";
hash = "sha256-pyR7xNdi/83NSoC2WIrX8U+A6nU+vZBlePLXrQZnc1k="; hash = "sha256-pyR7xNdi/83NSoC2WIrX8U+A6nU+vZBlePLXrQZnc1k=";
}; };
}); })).override { withAppIndicator = prev.stdenv.isLinux; };
} }

View File

@ -10,5 +10,14 @@ final: prev: {
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg="; hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
rev = "v${version}"; rev = "v${version}";
}; };
# fix darwin builds
nativeBuildInputs =
if ! prev.stdenv.isLinux then
prev.lib.filter
(drv: ! prev.lib.hasPrefix "wayland" drv.name)
o.nativeBuildInputs
else
o.nativeBuildInputs;
}); });
} }