I showed you my source code, pls respond
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

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { pkgs ? import <nixpkgs> { } }:
  3. with pkgs;
  4. mkShell {
  5. buildInputs = [
  6. nodejs
  7. yarn
  8. ];
  9. shellHook = ''
  10. export NPM_CONFIG_TMP="$XDG_RUNTIME_DIR/npm"
  11. export NPM_CONFIG_CACHE="$XDG_CACHE_HOME/npm"
  12. export NPM_CACHE_PREFIX="$XDG_CACHE_HOME/npm"
  13. export PATH="$(yarn global bin):$PATH"
  14. '';
  15. }