summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-09-08 09:10:20 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-09-08 09:10:20 +0200
commit8ef6f5a1e079e335ceb76829ead578f6b5cd1552 (patch)
tree06ff67d829149a4e55c6a80ae706629b4ef2d646
parentdabf09aa9297496bfd195b048080d3ea7f43d7a0 (diff)
downloadnixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar.gz
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar.bz2
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar.lz
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar.xz
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.tar.zst
nixpkgs-8ef6f5a1e079e335ceb76829ead578f6b5cd1552.zip
torch: remove a hack made obsolete by cmake setup-hook fix
-rw-r--r--pkgs/development/libraries/torch/default.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/development/libraries/torch/default.nix b/pkgs/development/libraries/torch/default.nix
index 254c210a61e..1b1a100350c 100644
--- a/pkgs/development/libraries/torch/default.nix
+++ b/pkgs/development/libraries/torch/default.nix
@@ -15,18 +15,6 @@ stdenv.mkDerivation rec{
     cd ..
     export PREFIX=$out
 
-    include=
-    for i in $NIX_CFLAGS_COMPILE; do
-      if test -n "$include" && test -d "$i"; then
-        export CMAKE_INCLUDE_PATH="$CMAKE_INCLUDE_PATH''${CMAKE_INCLUDE_PATH:+:}$i"
-      fi;
-      if test "x$i" = "x-isystem"; then
-        include=1
-      else
-        include=
-      fi
-    done
-
     mkdir "$out"
     sh install.sh -s
   '';