Skip to content

Instantly share code, notes, and snippets.

@rummik
Created September 11, 2018 13:47
Show Gist options
  • Save rummik/8761c5c4f8aa7686188d49ae4c808b7f to your computer and use it in GitHub Desktop.
Save rummik/8761c5c4f8aa7686188d49ae4c808b7f to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "shellcast-web";
buildInputs = [
nodejs-8_x
(yarn.override { nodejs = nodejs-8_x; })
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment