summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2016-09-01 10:55:13 +0200
committerGitHub <noreply@github.com>2016-09-01 10:55:13 +0200
commite4d784ace5cbb9a3314700799aabd21f503f8265 (patch)
tree396230866e9a0c235117cafd885b81e18b8e771e /pkgs/development/interpreters
parent02ee9d83d06b812009dc1f7fd203490a080fc35c (diff)
parent9fc87313473d2079e01140b0aaff0c83a3f4d958 (diff)
downloadnixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar.gz
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar.bz2
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar.lz
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar.xz
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.tar.zst
nixlib-e4d784ace5cbb9a3314700799aabd21f503f8265.zip
Merge pull request #18177 from womfoo/fix/jimtcl-build
jimtcl: fix build
Diffstat (limited to 'pkgs/development/interpreters')
-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/;