From dc7cfac99494568ef21fc6086c7bd30c0d589a8c Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Wed, 21 Aug 2024 22:35:05 +0200 Subject: [PATCH] imv: Fix Build without X --- overlay/modern-minimal.nix | 4 ---- overlay/no-x.nix | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) 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 ];