gobject-introspection: Conditionalize depsTargetTargetPropagated (#353237)
This commit is contained in:
@@ -94,7 +94,10 @@ else
|
|||||||
unwrapped = overriddenUnwrappedGir;
|
unwrapped = overriddenUnwrappedGir;
|
||||||
};
|
};
|
||||||
dontStrip = true;
|
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 = ''
|
buildCommand = ''
|
||||||
eval fixupPhase
|
eval fixupPhase
|
||||||
${lib.concatMapStrings (output: ''
|
${lib.concatMapStrings (output: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user