summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/jimtcl
diff options
context:
space:
mode:
authorKranium Gikos Mendoza <kranium@gikos.net>2016-09-01 16:26:10 +0800
committerKranium Gikos Mendoza <kranium@gikos.net>2016-09-01 16:26:10 +0800
commit9fc87313473d2079e01140b0aaff0c83a3f4d958 (patch)
tree6f3c76bf311dff1d2db23c6e43de3eb37a4356ab /pkgs/development/interpreters/jimtcl
parentf688ea37d8ee41e42903f4eef7b6537dea14dfa8 (diff)
jimtcl: fix build
Diffstat (limited to 'pkgs/development/interpreters/jimtcl')
-rw-r--r--pkgs/development/interpreters/jimtcl/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/jimtcl/default.nix b/pkgs/development/interpreters/jimtcl/default.nix
index a67dc323601f..4ac9b6479560 100644
--- a/pkgs/development/interpreters/jimtcl/default.nix
+++ b/pkgs/development/interpreters/jimtcl/default.nix
@@ -14,6 +14,8 @@ stdenv.mkDerivation {
sqlite readline asciidoc SDL SDL_gfx
];
+ NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
+
configureFlags = [
"--with-ext=oo"
"--with-ext=tree"
@@ -25,12 +27,6 @@ stdenv.mkDerivation {
"--ipv6"
];
- preConfigurePhase = ''
- export CFLAGS=$(sdl-config --cflags)
- export LDFLAGS=$(sdl-config --libs)
- '';
-
-
meta = {
description = "An open source small-footprint implementation of the Tcl programming language";
homepage = http://jim.tcl.tk/;