imv: Fix Build without X

This commit is contained in:
Mikael 2024-08-21 22:35:05 +02:00
parent 9c5facfe8c
commit dc7cfac994
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0
2 changed files with 7 additions and 4 deletions

View file

@ -20,10 +20,6 @@
firefox = final.wrapFirefox final.firefox-unwrapped { }; firefox = final.wrapFirefox final.firefox-unwrapped { };
imv = prev.imv.override {
withWindowSystem = "wayland";
};
mesa = prev.mesa.override { mesa = prev.mesa.override {
galliumDrivers = [ galliumDrivers = [
"iris" "iris"

View file

@ -52,6 +52,13 @@ in genAttrs [
libXtSupport = false; libXtSupport = false;
}; };
imv = (prev.imv.overrideAttrs(prevAttrs: {
buildInputs = prevAttrs.buildInputs or [ ]
++ [ final.libGL ];
})).override {
withWindowSystem = "wayland";
};
libepoxy = (prev.libepoxy.overrideAttrs (prevAttrs: { libepoxy = (prev.libepoxy.overrideAttrs (prevAttrs: {
buildInputs = prevAttrs.buildInputs or [ ] buildInputs = prevAttrs.buildInputs or [ ]
++ [ final.libGL ]; ++ [ final.libGL ];