From 5c3c688f7bc16cdcf57f7c0a4ebb61b369088ef1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 8 Apr 2014 13:17:40 +0200 Subject: [PATCH] Elm: fix build by ignoring the build instructions provided by upstream Re-apply the build fix from , because apparently the underlying issue has not been fixed. According to , Elm's release archive comes with a Setup.hs that cannot compile an Elm release. Duh! Replacing the custom Setup.hs file with a dummy version fixes this issue. --- pkgs/development/compilers/elm/elm.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/compilers/elm/elm.nix b/pkgs/development/compilers/elm/elm.nix index 3daa1b507b7..622f182e8c5 100644 --- a/pkgs/development/compilers/elm/elm.nix +++ b/pkgs/development/compilers/elm/elm.nix @@ -24,6 +24,10 @@ cabal.mkDerivation (self: { unorderedContainers yaml ]; doCheck = false; + preConfigure = '' + rm -f Setup.hs + echo -e "import Distribution.Simple\nmain=defaultMain\n" > Setup.hs + ''; meta = { homepage = "http://elm-lang.org"; description = "The Elm language module";