Browse Source

feat: Better build

develop
Dale 1 year ago
parent
commit
7165178535
  1. 4
      default.nix

4
default.nix

@ -16,13 +16,17 @@ in mkYarnPackage rec {
yarnNix = "${src}/yarn.nix";
shellHook = ''
rm -rf ./node_modules || true
export PATH="$PATH:$node_modules/.bin"
export NODE_PATH=$NODE_PATH:$node_modules
ln -s $node_modules ./node_modules
'';
configurePhase = ''
rm -rf ./node_modules || true
export PATH=$PATH:$node_modules/.bin
export NODE_PATH=$NODE_PATH:$node_modules
ln -s $node_modules ./node_modules
'';
buildPhase = ''

Loading…
Cancel
Save