summary refs log tree commit diff
path: root/pkgs/tools/graphics/asymptote
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-02-05 19:09:01 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-02-05 19:22:22 +0100
commitb8d488ab938ee7c2b32c84e72e46573e85c1223b (patch)
tree6284c5919868ffa50f2001629e3bab1203551351 /pkgs/tools/graphics/asymptote
parent3c5b7be8ff7d48cdb8ec9ac11b42947de3ba4b5e (diff)
downloadnixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar.gz
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar.bz2
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar.lz
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar.xz
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.tar.zst
nixpkgs-b8d488ab938ee7c2b32c84e72e46573e85c1223b.zip
asymptote: fix tarball by asserting isLinux
We have no osmesa on darwin, which caused an evaluation error.
Diffstat (limited to 'pkgs/tools/graphics/asymptote')
-rw-r--r--pkgs/tools/graphics/asymptote/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/asymptote/default.nix b/pkgs/tools/graphics/asymptote/default.nix
index 9199d6a038f..c28349a31cc 100644
--- a/pkgs/tools/graphics/asymptote/default.nix
+++ b/pkgs/tools/graphics/asymptote/default.nix
@@ -3,6 +3,9 @@
   , boehmgc, mesa_glu, mesa_noglu, ncurses, readline, gsl, libsigsegv
   , python, zlib, perl, texLive, texinfo, xz
 }:
+
+assert stdenv.isLinux;
+
 let
   s = # Generated upstream information
   rec {