Merge pull request #138580 from arcnmx/glib-cross-dev

glib: remove build references from cross compiles
This commit is contained in:
Rick van Schijndel 2022-05-09 21:59:38 +02:00 committed by GitHub
commit fc8afe812b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,6 +169,9 @@ stdenv.mkDerivation rec {
-i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c
'' + optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
cp -r ${buildPackages.glib.devdoc} $devdoc
# Remove references to build dependencies from closure
rm $dev/bin/*
'';
checkInputs = [ tzdata desktop-file-utils shared-mime-info ];