torch: remove a hack made obsolete by cmake setup-hook fix
commit8ef6f5a1e079e335ceb76829ead578f6b5cd1552
authorMichael Raskin <7c6f434c@mail.ru>
dateThu 8 Sep 2016, 09:10 (10 years ago)
parentdabf09a
pkgs/development/libraries/torch/default.nix−12
@@ -15,18 +15,6 @@ stdenv.mkDerivation rec{
1515 cd ..
1616 export PREFIX=$out
1717
18− include=
19− for i in $NIX_CFLAGS_COMPILE; do
20− if test -n "$include" && test -d "$i"; then
21− export CMAKE_INCLUDE_PATH="$CMAKE_INCLUDE_PATH''${CMAKE_INCLUDE_PATH:+:}$i"
22− fi;
23− if test "x$i" = "x-isystem"; then
24− include=1
25− else
26− include=
27− fi
28− done
29−
3018 mkdir "$out"
3119 sh install.sh -s
3220 '';