Browse Source

set up dev environment

dev
Brian Hicks 2 years ago
parent
commit
5c0844d14d
  1. 3
      .envrc
  2. 10
      shell.nix

3
.envrc

@ -0,0 +1,3 @@
#!/usr/bin/env bash
use nix
export PATH="$PATH:$(pwd)/node_modules/.bin"

10
shell.nix

@ -0,0 +1,10 @@
{ ... }:
let
sources = import ./nix/sources.nix;
niv = import sources.niv { };
nixpkgs = import sources.nixpkgs { };
in with nixpkgs;
stdenv.mkDerivation {
name = "slides";
buildInputs = [ elmPackages.elm niv.niv ];
}
Loading…
Cancel
Save