Skip to content

Commit

Permalink
elm: patch to widen dependency after hackage update 1b1cb63
Browse files Browse the repository at this point in the history
works around missing dependency 'language-glsl >=0.0.2 && <0.3'

patch from elm/compiler#1784
  • Loading branch information
jerith666 committed Sep 15, 2018
1 parent 04d8e26 commit e78f604
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/compilers/elm/default.nix
@@ -1,4 +1,6 @@
{ lib, stdenv, buildEnv, haskell, nodejs, fetchurl, makeWrapper, git }:
{ lib, stdenv, buildEnv
, haskell, nodejs
, fetchurl, fetchpatch, makeWrapper, git }:

# To update:

Expand Down Expand Up @@ -90,6 +92,12 @@ let
export ELM_HOME=`pwd`/.elm
'' + (makeDotElm "0.19.0" (import ./packages/elm-elm.nix));
buildTools = drv.buildTools or [] ++ [ makeWrapper ];
patches = [
(fetchpatch {
url = "https://github.com/elm/compiler/pull/1784/commits/78d2d8eab310552b1b877a3e90e1e57e7a09ddec.patch";
sha256 = "0vdhk16xqm2hxw12s1b91a0bmi8w4wsxc086qlzglgnjxrl5b3w4";
})
];
postInstall = ''
wrapProgram $out/bin/elm \
--prefix PATH ':' ${lib.makeBinPath [ nodejs ]}
Expand Down

0 comments on commit e78f604

Please sign in to comment.