forked from pub-solar/os
overlays: fix darkwin builds
This commit is contained in:
parent
77a5bd36a3
commit
51deae41cc
|
@ -1,11 +1,11 @@
|
|||
final: prev: {
|
||||
# with sway/wayland support
|
||||
redshift = prev.redshift.overrideAttrs (o: {
|
||||
redshift = (prev.redshift.overrideAttrs (o: {
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "minus7";
|
||||
repo = "redshift";
|
||||
rev = "wayland";
|
||||
hash = "sha256-pyR7xNdi/83NSoC2WIrX8U+A6nU+vZBlePLXrQZnc1k=";
|
||||
};
|
||||
});
|
||||
})).override { withAppIndicator = prev.stdenv.isLinux; };
|
||||
}
|
||||
|
|
|
@ -10,5 +10,14 @@ final: prev: {
|
|||
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
|
||||
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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue