git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5641 from teh/master

Fix elm-reactor.

commitc023a2778c034a3bf05571c72098faddb4e0700d authorPeter Simons <simons@cryp.to> dateThu 8 Jan 2015, 15:18 (12 years ago) parent9a5da81b32df8f
2 files changed+27−3
pkgs/development/compilers/elm/0001-remove-custom-build-step.patch+25 pkgs/development/compilers/elm/elm-reactor.nix+2−3
pkgs/development/compilers/elm/0001-remove-custom-build-step.patchnew file+25
@@ -0,0 +1,25 @@
1+From a164f7a2b662831ba26f5cebce23f97f1b5afccd Mon Sep 17 00:00:00 2001
2+From: Tom Hunger <tehunger@gmail.com>
3+Date: Thu, 8 Jan 2015 14:07:17 +0000
4+Subject: [PATCH] remove-custom-build-step
5+
6+---
7+ Setup.hs | 2 --
8+ 1 file changed, 2 deletions(-)
9+
10+diff --git a/Setup.hs b/Setup.hs
11+index 6f80fd8..a45ffc1 100644
12+--- a/Setup.hs
13++++ b/Setup.hs
14+@@ -19,8 +19,6 @@ main =
15+ myPostBuild :: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
16+ myPostBuild args flags pd lbi =
17+ do putStrLn "Custom build step: compiling debuggerInterface.elm"
18+- buildInterface
19+- concatJS lbi
20+ postBuild simpleUserHooks args flags pd lbi
21+
22+
23+--
24+1.9.4
25+
pkgs/development/compilers/elm/elm-reactor.nix+2−3
@@ -1,5 +1,3 @@
1−# This file was auto-generated by cabal2nix. Please do NOT edit manually!
2−
31{ cabal, blazeHtml, blazeMarkup, cmdargs, elmCompiler, elmMake, filepath
42, fsnotify, HTTP, mtl, snapCore, snapServer, systemFilepath, text
53, time, transformers, unorderedContainers, websockets
@@ -12,6 +10,7 @@ cabal.mkDerivation (self: {
1210 sha256 = "1qnrxr3wayhw92w6lghchz8avxbxg00w7p6d1vs7mq9q56876jgj";
1311 isLibrary = false;
1412 isExecutable = true;
13+ patches = [ ./0001-remove-custom-build-step.patch ];
1514 buildDepends = [
1615 blazeHtml blazeMarkup cmdargs elmCompiler filepath fsnotify HTTP
1716 mtl snapCore snapServer systemFilepath text time transformers
@@ -22,6 +21,6 @@ cabal.mkDerivation (self: {
2221 description = "Interactive development tool for Elm programs";
2322 license = self.stdenv.lib.licenses.bsd3;
2423 platforms = self.ghc.meta.platforms;
25− broken = true;
24+# broken = true;
2625 };
2726})