torch: remove a hack made obsolete by cmake setup-hook fix
This commit is contained in:
parent
dabf09aa92
commit
8ef6f5a1e0
@ -15,18 +15,6 @@ stdenv.mkDerivation rec{
|
|||||||
cd ..
|
cd ..
|
||||||
export PREFIX=$out
|
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"
|
mkdir "$out"
|
||||||
sh install.sh -s
|
sh install.sh -s
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user