grub2: unset CPP

Commit 093cc00cdd sets the environment variable
`CPP' by default, but this intereferes with dependency calculation.
This commit is contained in:
Thomas Tuegel 2017-07-21 09:01:23 -05:00
parent b21defaf51
commit 5265d551a9
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59

View File

@ -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 =