Convert Elm project into Nix expressions
Clone or download
domenkozar Merge pull request #11 from jerith666/master
switch to an elm-compiler fork that still contains the 7ee7 commit
Latest commit d1fc9ab Mar 6, 2018

README.md

elm2nix (alpha/unstable)

Build Status

Convert Elm project into Nix expressions.

Installation

$ stack install --nix

Usage

$ cd my-project
$ ~/.local/bin/elm2nix init > default.nix
$ ~/.local/bin/elm2nix convert > elm-srcs.nix
$ nix-build

Running tests (as per travis)

$ ./scripts/tests.sh

FAQ

Why are there no Nix expressions yet to install elm2nix?

Waiting on https://github.com/input-output-hk/stack2nix 0.2 release

Why is mkDerivation inlined into default.nix?

As it's considered unstable, it's generated for now. Might change in the future.