Merge pull request #172245 from NixOS/revert-138580-glib-cross-dev

Revert "glib: remove build references from cross compiles"
This commit is contained in:
Rick van Schijndel 2022-05-09 22:49:08 +02:00 committed by GitHub
commit b3f1be780c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,9 +169,6 @@ 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 ];