diff --git a/overlay/modern-minimal.nix b/overlay/modern-minimal.nix index 971e29b..5c1493e 100644 --- a/overlay/modern-minimal.nix +++ b/overlay/modern-minimal.nix @@ -20,10 +20,6 @@ firefox = final.wrapFirefox final.firefox-unwrapped { }; - imv = prev.imv.override { - withWindowSystem = "wayland"; - }; - mesa = prev.mesa.override { galliumDrivers = [ "iris" diff --git a/overlay/no-x.nix b/overlay/no-x.nix index ca0eaab..082aa4a 100644 --- a/overlay/no-x.nix +++ b/overlay/no-x.nix @@ -52,6 +52,13 @@ in genAttrs [ libXtSupport = false; }; + imv = (prev.imv.overrideAttrs(prevAttrs: { + buildInputs = prevAttrs.buildInputs or [ ] + ++ [ final.libGL ]; + })).override { + withWindowSystem = "wayland"; + }; + libepoxy = (prev.libepoxy.overrideAttrs (prevAttrs: { buildInputs = prevAttrs.buildInputs or [ ] ++ [ final.libGL ];