Revert "glib: remove build references from cross compiles"

This commit is contained in:
Rick van Schijndel 2022-05-09 22:48:36 +02:00 committed by GitHub
parent 4b32791265
commit 12cc1370a2
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 -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c
'' + optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' '' + optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
cp -r ${buildPackages.glib.devdoc} $devdoc cp -r ${buildPackages.glib.devdoc} $devdoc
# Remove references to build dependencies from closure
rm $dev/bin/*
''; '';
checkInputs = [ tzdata desktop-file-utils shared-mime-info ]; checkInputs = [ tzdata desktop-file-utils shared-mime-info ];