about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/3.7/llvm.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-14 18:12:54 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-14 18:12:54 -0400
commitbf7b5215001ca5adb283dfd68facc914fce96c49 (patch)
tree44a1eb7d689f73ad98740d205199fd2744e36745 /pkgs/development/compilers/llvm/3.7/llvm.nix
parentf5e0e94b2a136a60e6236457e6ddc342ced4d42b (diff)
downloadnixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar.gz
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar.bz2
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar.lz
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar.xz
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.tar.zst
nixlib-bf7b5215001ca5adb283dfd68facc914fce96c49.zip
treewide: Fix some references to binutils
 - Compiler's shouldn't use `binutils.dev` as that doesn't yet exist
   with a cross binutils.

 - Last two `binutils.binutils` which weren't reverted
Diffstat (limited to 'pkgs/development/compilers/llvm/3.7/llvm.nix')
-rw-r--r--pkgs/development/compilers/llvm/3.7/llvm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/3.7/llvm.nix b/pkgs/development/compilers/llvm/3.7/llvm.nix
index 81aaa7cd65c2..b600665cd8f6 100644
--- a/pkgs/development/compilers/llvm/3.7/llvm.nix
+++ b/pkgs/development/compilers/llvm/3.7/llvm.nix
@@ -67,7 +67,7 @@ in stdenv.mkDerivation rec {
   ] ++ stdenv.lib.optional enableSharedLibraries
     "-DBUILD_SHARED_LIBS=ON"
     ++ stdenv.lib.optional (!isDarwin)
-    "-DLLVM_BINUTILS_INCDIR=${binutils.dev}/include"
+    "-DLLVM_BINUTILS_INCDIR=${stdenv.lib.getDev binutils}/include"
     ++ stdenv.lib.optionals ( isDarwin) [
     "-DLLVM_ENABLE_LIBCXX=ON"
     "-DCAN_TARGET_i386=false"