Elm: fix build by ignoring the build instructions provided by upstream
Re-apply the build fix from <https://github.com/NixOS/nixpkgs/issues/2089>, because apparently the underlying issue has not been fixed. According to <https://github.com/elm-lang/Elm/issues/384>, 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.
This commit is contained in:
parent
6a35958936
commit
5c3c688f7b
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue