citizen (of the Internet)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
235 B

  1. with import <nixpkgs> {};
  2. stdenv.mkDerivation rec {
  3. name = "env";
  4. env = buildEnv { name = name; paths = buildInputs; };
  5. buildInputs = [
  6. nodejs-12_x
  7. ];
  8. shellHook = "
  9. export NODE_ENV=development
  10. npm run dev
  11. ";
  12. }