Automatically run flow on build

This commit is contained in:
uwap 2017-10-27 16:40:42 +02:00
parent a65e937623
commit d1dd22eb5d
4 changed files with 32 additions and 8 deletions

9
shell.nix Normal file
View file

@ -0,0 +1,9 @@
with (import <nixpkgs> {});
stdenv.mkDerivation rec {
name = "env";
env = buildEnv { name = name; paths = buildInputs; };
buildInputs = with pkgs.nodePackages; [
yarn flow nodejs
];
FLOW_PATH = "${pkgs.flow}/bin/flow";
}