From 8ef6f5a1e079e335ceb76829ead578f6b5cd1552 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 8 Sep 2016 09:10:20 +0200 Subject: [PATCH] torch: remove a hack made obsolete by cmake setup-hook fix --- pkgs/development/libraries/torch/default.nix | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkgs/development/libraries/torch/default.nix b/pkgs/development/libraries/torch/default.nix index 254c210a61ed..1b1a100350c7 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 '';