summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/gforth
diff options
context:
space:
mode:
authorHenry Till <henrytill@gmail.com>2016-04-06 17:11:19 -0400
committerMoritz Ulrich <moritz@tarn-vedra.de>2016-04-06 23:21:09 +0200
commitd2d3ef953e191bf0f3465dd422f6e4433822b12b (patch)
tree62be8a67154372df5864069a93949a59516b29f1 /pkgs/development/compilers/gforth
parent6cd2eccdc7e3366307665b63b306eb250c4ff9f6 (diff)
gforth: fix build on darwin
Diffstat (limited to 'pkgs/development/compilers/gforth')
-rw-r--r--pkgs/development/compilers/gforth/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gforth/default.nix b/pkgs/development/compilers/gforth/default.nix
index c6165bb55869..6ea21207f19f 100644
--- a/pkgs/development/compilers/gforth/default.nix
+++ b/pkgs/development/compilers/gforth/default.nix
@@ -12,6 +12,8 @@ stdenv.mkDerivation {
buildInputs = [ m4 ];
+ configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64-apple-darwin" ];
+
postInstall = ''
mkdir -p $out/share/emacs/site-lisp
cp gforth.el $out/share/emacs/site-lisp/