grub2: unset CPP

Commit 093cc00cdd sets the environment variable
`CPP' by default, but this intereferes with dependency calculation.
wip/yesman
Thomas Tuegel 7 years ago
parent b21defaf51
commit 5265d551a9
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
  1. 2
      pkgs/tools/misc/grub/2.0x.nix

@ -85,6 +85,8 @@ stdenv.mkDerivation rec {
# See <http://www.mail-archive.com/qemu-devel@nongnu.org/msg22775.html>.
sed -i "tests/util/grub-shell.in" \
-e's/qemu-system-i386/qemu-system-x86_64 -nodefaults/g'
unset CPP # setting CPP intereferes with dependency calculation
'';
prePatch =

Loading…
Cancel
Save