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.
16 lines
369 B
16 lines
369 B
# This file is controlled by /etc/dotfiles/README.org
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
mkShell {
|
|
buildInputs = [
|
|
nodejs
|
|
yarn
|
|
];
|
|
shellHook = ''
|
|
export NPM_CONFIG_TMP="$XDG_RUNTIME_DIR/npm"
|
|
export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm"
|
|
export NPM_CACHE_PREFIX="$XDG_CACHE_HOME/npm"
|
|
export PATH="$(yarn global bin):$PATH"
|
|
'';
|
|
}
|