gobject-introspection: gate the wrapper behind emulatorAvailable

This commit is contained in:
Artturin 2022-09-24 20:53:27 +03:00
parent 454887a35d
commit b5c1f91abd

View file

@ -18569,7 +18569,7 @@ with pkgs;
gns3-gui = gns3Packages.guiStable;
gns3-server = gns3Packages.serverStable;
gobject-introspection = if (!stdenv.hostPlatform.canExecute stdenv.targetPlatform)
gobject-introspection = if (!stdenv.hostPlatform.canExecute stdenv.targetPlatform) && stdenv.targetPlatform.emulatorAvailable buildPackages
then callPackage ../development/libraries/gobject-introspection/wrapper.nix { } else gobject-introspection-unwrapped;
gobject-introspection-unwrapped = callPackage ../development/libraries/gobject-introspection {