summary refs log tree commit diff
path: root/pkgs/tools/misc/grub
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-07-21 09:01:23 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-07-21 16:49:17 -0500
commit5265d551a96e701387dc767ed62e3cbc9074fe90 (patch)
tree3974a45de0bb14eee3ca49991aed7e60e55f87f0 /pkgs/tools/misc/grub
parentb21defaf51daf002f94bb57bf0f5073b153247db (diff)
downloadnixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar.gz
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar.bz2
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar.lz
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar.xz
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.tar.zst
nixpkgs-5265d551a96e701387dc767ed62e3cbc9074fe90.zip
grub2: unset CPP
Commit 093cc00cdd9d8cf31ecce5bc1dd3645c460a1b98 sets the environment variable
`CPP' by default, but this intereferes with dependency calculation.
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r--pkgs/tools/misc/grub/2.0x.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix
index 2bbeea8133e..634022e88e0 100644
--- a/pkgs/tools/misc/grub/2.0x.nix
+++ b/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 =