From d2d3ef953e191bf0f3465dd422f6e4433822b12b Mon Sep 17 00:00:00 2001 From: Henry Till Date: Wed, 6 Apr 2016 17:11:19 -0400 Subject: [PATCH] gforth: fix build on darwin --- pkgs/development/compilers/gforth/default.nix | 2 ++ 1 file changed, 2 insertions(+) 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/