git.iko.soy/typeable/nixpkgs
on master help sign in
elm: patch to widen dependency after hackage update 1b1cb6305c

works around missing dependency 'language-glsl >=0.0.2 && <0.3' patch from https://github.com/elm/compiler/pull/1784

commite78f60475b27f4ec1cb7615caa84a9fe2c721cef authorMatt McHenry <github@matt.mchenryfamily.org> dateSat 15 Sep 2018, 12:16 (8 years ago) parent04d8e26
1 file changed+9−1
pkgs/development/compilers/elm/default.nix+9−1
pkgs/development/compilers/elm/default.nix+9−1
@@ -1,4 +1,6 @@
1−{ lib, stdenv, buildEnv, haskell, nodejs, fetchurl, makeWrapper, git }:
1+{ lib, stdenv, buildEnv
2+, haskell, nodejs
3+, fetchurl, fetchpatch, makeWrapper, git }:
24
35# To update:
46
@@ -90,6 +92,12 @@ let
9092 export ELM_HOME=`pwd`/.elm
9193 '' + (makeDotElm "0.19.0" (import ./packages/elm-elm.nix));
9294 buildTools = drv.buildTools or [] ++ [ makeWrapper ];
95+ patches = [
96+ (fetchpatch {
97+ url = "https://github.com/elm/compiler/pull/1784/commits/78d2d8eab310552b1b877a3e90e1e57e7a09ddec.patch";
98+ sha256 = "0vdhk16xqm2hxw12s1b91a0bmi8w4wsxc086qlzglgnjxrl5b3w4";
99+ })
100+ ];
93101 postInstall = ''
94102 wrapProgram $out/bin/elm \
95103 --prefix PATH ':' ${lib.makeBinPath [ nodejs ]}