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:
parent
77a5bd36a3
commit
51deae41cc
@ -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; };
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user