diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-09-08 09:10:20 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-09-08 09:10:20 +0200 |
commit | 8ef6f5a1e079e335ceb76829ead578f6b5cd1552 (patch) | |
tree | 06ff67d829149a4e55c6a80ae706629b4ef2d646 /pkgs/development/libraries/torch | |
parent | dabf09aa9297496bfd195b048080d3ea7f43d7a0 (diff) |
torch: remove a hack made obsolete by cmake setup-hook fix
Diffstat (limited to 'pkgs/development/libraries/torch')
-rw-r--r-- | pkgs/development/libraries/torch/default.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/development/libraries/torch/default.nix b/pkgs/development/libraries/torch/default.nix index 254c210a61ed2..1b1a100350c72 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 ''; |