Commit Graph

75 Commits

Author SHA1 Message Date
maralorn
fae2ff5c03 haskell.{compiler,packages}: Add aliases without minor versions 2022-09-21 05:51:28 +02:00
Théo Zimmermann
c335189e81
elmPackages.lamdera: init at 1.0.1 2022-08-30 19:12:30 +02:00
Artturin
c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
Jinnah Ali-Clarke
d29cd82bfb elmPackages.elm-pages: init at 2.1.11
`node-packages.nix` was regenerated after having run `generate-node-packages.sh`
in order to pick up dependencies for `elm-pages`.  In addition, we add `elm`,
`elm-review`, and `elm-optimize-level-2` to the `PATH` for `elm-pages` since those
are needed at runtime.

A patch is also included to fix an issue where files are copied from the `nix-store`
as read-only (credit to @bcardiff for that fix).  An upstream issue
https://github.com/dillonkearns/elm-pages/issues/305 has been opened to track this.
2022-05-30 09:56:44 -04:00
Alexander Foremny
3d88f74c9d elmPackages.elmi-to-json: build using aeson 1.5.6.0
elmi-to-json (and others) did not build as aeson 2.0.3.0 fails to build
with attoparsec < 0.14, presumably since
376a511e09.
2022-04-07 08:54:24 +02:00
Alexander Foremny
6c46cc64de elmPackages.elm-format: build using hspec-tasty 1.1.6, hspec-golden 0.1.0.3
elm-format depends on elm-format-lib which failed to build with
hspec-tasty 1.1.7 and hspec-golden 0.2.0.0.

hspec-tasty 1.1.6 and hspec-golden 0.1.0.3 had been removed in
cd67b4fcbb.

hspec-tasty 1.1.6 in turn pulls in older dependencies for hspec,
hspec-core and hspec-discover.

Fixes #167533.
2022-04-07 07:58:34 +02:00
sternenseemann
376a511e09 elmPackages.elm: build using attoparsec 0.13.2.5
Seems like elm is not quite ready for attoparsec 0.14.
2022-02-23 22:36:48 +01:00
Marek Fajkus
9f2d210fde
elmPackages.elm: explicitely use ghc8107 2022-02-22 12:58:50 +01:00
Jonathan Ringer
ae6b8cf9b3 elmPackages: restore positions, use makeScope, cleanup 2022-02-15 04:38:47 -08:00
Marek Fajkus
26b74d2938
elmPackages: fix nodejs packages
Fixes regression caused by
    4c60ee3da1 (pull: #142915)
    following patch of nodePackages using nodejs-14_x
    2c3b3e69ad (pull: #149120)

    - clenups and updates in generate-node-packages.sh
    - specify nodejs version in default.nix

    This makes elmPackages.* build with nodejs-14
    which resolves the issue with npm installation failing
2021-12-30 19:05:19 +01:00
Marek Fajkus
480fbd7048
elmPackages.elm-git-install: init at 0.1.3 2021-12-12 18:51:33 +01:00
Jérémy Pagé
2cac5a75f1
elm-test-rs: init at 2.0 2021-12-08 17:37:28 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
Robert Hensing
377f9ca78d elmPackages.elm-json: 0.2.7 -> 0.2.10 2021-05-06 11:21:40 +02:00
Marek Fajkus
09ea1dc766
elmPackages.elm-format: fix build
closes #117336
2021-03-23 11:47:29 +01:00
Peter Simons
021b8328ce ghc: drop obsolete compiler version 8.10.3 2021-03-12 21:23:15 +01:00
Domen Kožar
576f60806b
Merge pull request #112457 from avh4/elm-format-0.8.5
elm-format: 0.8.4 -> 0.8.5
2021-02-11 11:52:41 +00:00
Aaron VonderHaar
c16cecdcd6 Add maintainer: avh4 2021-02-09 00:21:28 -08:00
Aaron VonderHaar
4fe4118598 elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
Marek Fajkus
c7cb9abfa4
elmPackages: updates 2021-02-06 16:51:21 +01:00
Marek Fajkus
07a6732bf5
Fix elm-json build on Darwin 2021-01-23 14:28:08 +01:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Marek Fajkus
ccdf2b2be6
elmPackages.*: add meta
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-16 19:48:00 +01:00
Marek Fajkus
200f41350f
elmPackages.elm-review: Init at 2.3.3 2020-11-29 16:23:10 +01:00
Aaron VonderHaar
a67d4c9744 elm-format: 0.8.3 -> 0.8.4 2020-09-23 22:34:04 -07:00
Marek Fajkus
b38cfd104d
elmPackages.elm-optimize-level-2: Init at 0.1.3 2020-08-29 11:59:03 +02:00
Marek Fajkus
c17f7ef666
elmPackages.elm-json: init at 0.2.7 2020-08-15 23:33:39 +02:00
Marek Fajkus
b9e9effb44
elmPackages: Refactor lib and builds of packages 2020-06-23 19:44:34 +02:00
Marek Fajkus
8ab6aee3fc
elmPackages.elm-format: fix build
Resolves issue from 7d30b4d1b5 commit
2020-05-02 01:06:25 +02:00
Gabor Greif
a634bd0fd7 ghc: drop 8.8.1 2020-04-24 21:48:28 +02:00
Marek Fajkus
02bc5b0ba1
elmPackages.create-elm-app: init at 4.2.4 2020-04-10 21:08:25 +02:00
Marek Fajkus
63c871e148
elmPackages.elm-instrument: remove patch 2020-03-25 11:53:38 +01:00
Marek Fajkus
b812a723f5
elmPackages: minor cleanups
* Make sure generate script uses node2nix version from the nixpkgs
* regenerate code generated by node2nix
2020-03-18 20:36:36 +01:00
Marek Fajkus
baf37aabad
elmPackages.elm-coverage: init at 0.0.3 2020-03-17 13:56:14 +01:00
Marek Fajkus
f387b85540
elmPackages.elm-instrument: Init at 0.0.7 2020-03-16 20:10:34 +01:00
Marek Fajkus
ff88fe03d7
elmPackages.{elm-test,elm-analyse}: elm 0.19.1 updates 2019-10-22 19:16:46 +02:00
Marek Fajkus
148d4a214a
elmPackages: elm-format GHC 8.8.1 patch 2019-10-22 14:52:57 +02:00
Domen Kožar
5235b19045
Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
Marek Fajkus
48e57cfd57
elm.elmPackages: Cleanup code 2019-10-13 15:08:18 +02:00
Peter Simons
ddb77f3437 ghc: drop obsolete 8.6.4 version
The latest version in the 8.6.x branch is 8.6.5.
2019-09-18 18:24:42 +02:00
Marek Fajkus
98997bb489
elmPackages.elm-language-server: Init at 1.4.1 2019-09-15 16:36:17 +02:00
Marek Fajkus
eb5ba591d9 elmPackages: share node-env.nix, add elm-live & elm-xref 2019-08-27 22:02:37 +02:00
Marek Fajkus
3b1948b2d4 elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
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 7fde42b8eb)
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