glib: remove build references from cross compiles

This can pull in host python and bash.
main
arcnmx 3 years ago
parent a54d2e72e2
commit 3f544ff584
  1. 3
      pkgs/development/libraries/glib/default.nix

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

Loading…
Cancel
Save