about summary refs log tree commit diff
path: root/pkgs/development/compilers/elm
diff options
context:
space:
mode:
authorMárton Boros <martonboros@gmail.com>2020-05-03 21:54:20 +0300
committerGitHub <noreply@github.com>2020-05-03 21:54:20 +0300
commit31c42bb05b0c458016506b3a03f39c7492f4a239 (patch)
tree5fe1bda68e40d531fe76b895fd6d0a0d4d555c23 /pkgs/development/compilers/elm
parent5b4994672317eb8b5b8d1c47196bddfb31cafda3 (diff)
makeDotElm: fix
Some elm packages (eg. https://github.com/NoRedInk/elm-simple-fuzzy/ ) have a Makefile which the standard builder tries to build and fails because of missing dependencies. This change forces a no-op configure and build phase to avoid such a situation.
Diffstat (limited to 'pkgs/development/compilers/elm')
-rw-r--r--pkgs/development/compilers/elm/makeDotElm.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/compilers/elm/makeDotElm.nix b/pkgs/development/compilers/elm/makeDotElm.nix
index 0831d382c4b29..b8076d72e4817 100644
--- a/pkgs/development/compilers/elm/makeDotElm.nix
+++ b/pkgs/development/compilers/elm/makeDotElm.nix
@@ -11,6 +11,14 @@ ver: deps:
                    inherit (info) sha256;
                  };
 
+                 configurePhase = ''
+                   true
+                 '';
+
+                 buildPhase = ''
+                   true
+                 '';
+
                  installPhase = ''
                    mkdir -p $out
                    cp -r * $out