Commit graph

32 commits

Author SHA1 Message Date
Frederik Rietdijk
26335f358e elm: don't import <nixpkgs>, fixes tarball job
Don't import <nixpkgs>, because that is not allowed.
Broken by https://github.com/NixOS/nixpkgs/pull/63477

cc @turboMaCk
2019-06-25 16:14:56 +02:00
Marek Fajkus
a97986a481 elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes
Extends the number of available tools for Elm language.

1. fix and move "elm-test"
Previously located in nodePackages.elm-test but broken (see binwrap info).
Now fixed and located in elmPackages.elm-test

2. add "elm-verify-examples"
Generate tests from documentation examples

3. add "elm-upgrade"
upgrade assistant using statical analysis

4. add "elm-analyse"
static analysis for elm code (linter)

5. move "elm-doc-preview"
originally located in nodePackages.elm-upgrade - moved for consistency

6. add "elmi-to-json"
transforms elmi files to json - used by other tools like elm-test and
elm-verify-examples

Node.js based dependencies are defined the same way as nodePackages
contaparts but are independent (has it's own packages.json)

patch-binwrap.nix is used to as a replacement for binwrap package
used by some nodejs dependencies that depends on Haskell binaries
(elm-test and elm-verify-examples).

BREAKING CHANGE
===============
elm-doc-preview (as well as broken elm-test) is now commented
in `node-packages-v10.json` and should be removed once new
nix-expressions for node10 are generated (out of scope of this PR)

There are still 2 outstanding elm related packages in nodePackages

1. elm-oracle - legacy package which is not compatible with elm 0.19
2. elm-live - should be moved in the future I think
2019-06-18 21:29:10 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Peter Simons
93e4a90502 ghc: switch our default compiler to version 8.6.4
Also, drop obsolete 8.6.x minor releases 8.6.1, 8.6.2, and 8.6.3.

(cherry picked from commit 7fde42b8ebddbd673342b98d9d7c892a0c521583)
2019-03-16 20:30:58 +01:00
Matt McHenry
736fe5ae59 elm: fix UnsafePath error downloading dependencies 2019-01-21 14:44:31 -05:00
Domen Kožar
28293fb169
fix #52118 2019-01-04 13:55:06 +00:00
Domen Kožar
fb0e49a9a7
elm: get to compile on GHC 8.6.3 2019-01-04 13:03:24 +00:00
Domen Kožar
6da4584acf
Elm: automate packaging with elm2nix
- rewrite documentation
- automate whole process into update.sh
- remove all legacy snippets
2019-01-03 16:37:09 +00:00
Matt McHenry
206a1c00ba elm: extract makeDotElm and fetchElmDeps 2018-11-21 10:57:11 +00:00
Aaron VonderHaar
67f58eee5e elm-format: 0.8.0 -> 0.8.1 2018-10-03 20:30:35 +01:00
Matt McHenry
e78f60475b 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
2018-09-15 13:14:41 -04:00
Matt McHenry
aa8bdaf0c4 elm: add instructions for versions.dat and elm-elm.nix
(cherry picked from commit fcabcb2e41a89b2249d24e68355866979e961f8a)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-08-26 23:20:41 +01:00
Domen Kožar
fc11905b6e elm: depend on nodejs due to repl 2018-08-26 23:20:41 +01:00
Domen Kožar
7c542d0c86 Elm: 0.19 builds with elm-format 2018-08-26 23:20:41 +01:00
Matt McHenry
9f9e9d6433 elm: 0.18 -> 0.19
update makeElmStuff to makeDotElm, create elm-elm.nix listing the elm
code that elm itself embeds, and pre-fetch it so that the elm build
can function offline.  also include a versions.dat file, as created
during an impure build of elm.  set ELM_HOME so that the elm build can
find these things.

continues #45448

(cherry picked from commit e7d0df84676d51fb0cbfbeb10dd32153489c3565)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-08-26 23:20:41 +01:00
Domen Kožar
db11c832fb WIP Elm 0.19 2018-08-26 23:20:41 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matt McHenry
b80874cda9 elm: override either for elm-interface-to-json
as suggested by @pbogdan

final fix for #38023
2018-04-02 01:05:03 +02:00
Matt McHenry
da8d48117f elm: patch elm-package to work with current http-client
partial fix for #38023
2018-04-02 01:05:03 +02:00
Matt McHenry
5dd5faddc0 elm: disable dependencies' tests to fix build
these haskell packages need their tests disabled after recent hackage
package version bumps.

partial fix for #38023
2018-04-02 01:05:03 +02:00
Michael Fellinger
94b7925b30 elm-interface-to-json: init at 0.1 (#32194)
elm-interface-to-json -> init at 0.1
2017-12-02 13:32:45 +01:00
Domen Kožar
afb7d04dd6
elmPackages: fix #22932 2017-02-23 22:58:40 +01:00
Domen Kožar
1d71ae259f elm: be able to install everything inside a profile to fix #19943 2016-11-21 12:42:44 +01:00
Rok Garbas
bed7aba2f0 elm: 0.17 -> 0.17.1 2016-07-16 00:11:41 +02:00
Maxwell Huang-Hobbs
4ea4cd9905 elm-format: init at 0.3.1
Closes #15817.

abbradar: remove unneeded callPackage argument and clean up spaces.
2016-05-30 04:39:40 +03:00
Nikolay Amiantov
d3da0bd78f elm: add documentation on how to use update scripts and run them properly 2016-05-18 13:30:38 +03:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Nikolay Amiantov
f0187cb4c3 elmPackages.elm-compiler: use old language-ecmascript 2016-03-23 21:34:39 +03:00
Domen Kožar
542bf5bf41 elm: recurseIntroAtrs and use GHC 7.10.3 2016-01-22 13:39:18 +01:00
Brandon Martin
e32defcdac elmPackages update from 0.15.1 to 0.16 2015-11-20 10:14:49 -07:00
Tanner Doshier
5adba5cf6f elm: fix patch hashes 2015-08-20 21:54:40 -05:00
Nikolay Amiantov
89a2f87011 elm: add the platform and helpful scripts 2015-08-17 21:32:30 +03:00