mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
gobject-introspection: Conditionalize depsTargetTargetPropagated
(#353237)
This commit is contained in:
commit
eebdbe1497
@ -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: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user