diff --git a/pkgs/development/libraries/gobject-introspection/wrapper.nix b/pkgs/development/libraries/gobject-introspection/wrapper.nix index 53b1a35f8212..5d6547a2b67d 100644 --- a/pkgs/development/libraries/gobject-introspection/wrapper.nix +++ b/pkgs/development/libraries/gobject-introspection/wrapper.nix @@ -94,7 +94,10 @@ else unwrapped = overriddenUnwrappedGir; }; dontStrip = true; - depsTargetTargetPropagated = [ overridenTargetUnwrappedGir ]; + # Conditional is for `pkgsCross.x86_64-freebsd.pkgsBuildHost.gobject-introspection` `error: Don't know how to run x86_64-unknown-freebsd executables.` + # `pkgsCross.x86_64-freebsd.buildPackages.python3.withPackages (pp: [ pp.pygobject3 ])` + # Using the python module does not need this propagation + depsTargetTargetPropagated = lib.optionals (stdenv.targetPlatform.emulatorAvailable buildPackages) [ overridenTargetUnwrappedGir ]; buildCommand = '' eval fixupPhase ${lib.concatMapStrings (output: ''