about summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-10 21:06:22 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-10 21:06:22 -0500
commitb3cb07e1300ce1be30f14011a8274615de38e23d (patch)
treeb73fe5cac9725fa915b9e9e2b448379667aeb6c0 /pkgs/applications/science/math
parentd4b128959210e45df8bdbe4b0a5e3844a73a9953 (diff)
downloadnixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar.gz
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar.bz2
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar.lz
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar.xz
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.tar.zst
nixlib-b3cb07e1300ce1be30f14011a8274615de38e23d.zip
lie: only build on linux
Darwin build fails from conflicts in libSystem:

In file included from altdom.c:1:
In file included from /private/var/folders/7t/4vz31njj37b8y_bg6z3t7tk00000gn/T/nix-build-LiE-2.2.2.drv-0/LiE/lie.h:34:
In file included from /nix/store/9ll4m9yx854hr64fn1w9ra3qimm3pzdk-Libsystem-osx-10.9.5/include/string.h:176:
/nix/store/9ll4m9yx854hr64fn1w9ra3qimm3pzdk-Libsystem-osx-10.9.5/include/strings.h:73:7: error: redefinition of 'index' as different kind of symbol
char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
         ^
/private/var/folders/7t/4vz31njj37b8y_bg6z3t7tk00000gn/T/nix-build-LiE-2.2.2.drv-0/LiE/lie.h:6:14: note: previous definition is here
typedef long index;
             ^
1 error generated.
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/LiE/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/science/math/LiE/default.nix b/pkgs/applications/science/math/LiE/default.nix
index 8e284f5c3283..515b7e272899 100644
--- a/pkgs/applications/science/math/LiE/default.nix
+++ b/pkgs/applications/science/math/LiE/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
       characteristics, we refer to the following sources of information.
     ''; # take from the website
 
-    platforms = stdenv.lib.platforms.unix;
+    platforms = stdenv.lib.platforms.linux;
     maintainers = [ ]; # this package is probably not going to change anyway
   };