Convert Elm project into Nix expressions
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
elm2nix
scripts better job fixing nixpkgs version Dec 27, 2017
src
test
.gitignore
.travis.yml
ChangeLog.md
LICENSE
README.md
Setup.hs
elm2nix.cabal
shell.nix
stack.yaml

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.