From 3b37286e6523babccbb35e3154a441ce3ce6ecdc Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 4 Mar 2023 22:27:43 +0000 Subject: [PATCH] cross compilation: gnome-shell: don't emulate stdenv --- hosts/common/cross/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/common/cross/default.nix b/hosts/common/cross/default.nix index 764927d0..7b871bfb 100644 --- a/hosts/common/cross/default.nix +++ b/hosts/common/cross/default.nix @@ -614,9 +614,7 @@ in # # "-Dgtk_doc=${lib.boolToString (prev.stdenv.buildPlatform == prev.stdenv.hostPlatform)}" # # ]; # }); - gnome-shell = (super.gnome-shell.override { - inherit (next) stdenv; - }).overrideAttrs (upstream: { + gnome-shell = super.gnome-shell.overrideAttrs (upstream: { nativeBuildInputs = upstream.nativeBuildInputs ++ [ next.gjs # fixes "meson.build:128:0: ERROR: Program 'gjs' not found or not executable" next.buildPackages.gobject-introspection # fixes "shew| Build-time dependency gobject-introspection-1.0 found: NO"