install all deps we need via nix

This commit is contained in:
Brian Hicks 2018-12-18 16:43:08 -06:00
parent 88d6e92982
commit a9fa1252ae

23
shell.nix Normal file
View File

@ -0,0 +1,23 @@
with import (builtins.fetchTarball rec {
# grab a hash from here: https://nixos.org/channels/
name = "nixpkgs-darwin-18.09pre153253.7e88992a8c7";
url = "https://github.com/nixos/nixpkgs/archive/7e88992a8c7b2de0bcb89182d8686b27bd93e46a.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1f6lf4addczi81hchqbzjlhrsmkrj575dmdjdhyl0jkm7ypy2lgk";
}) {};
stdenv.mkDerivation {
name = "noredink-ui";
buildInputs = [
# base dependencies
git
gnumake
# elm dependencies
elmPackages.elm
elmPackages.elm-format
# node dependencies
nodePackages.npm
];
}