Skip to content

Commit

Permalink
Merge pull request #584 from shyim/patch-3
Browse files Browse the repository at this point in the history
feat: lock deno to project scope
  • Loading branch information
domenkozar authored May 8, 2023
2 parents c4006cc + 1059d6f commit c908963
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/languages/deno.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@ in
packages = [
pkgs.deno
];

env.DENO_INSTALL_ROOT = config.env.DEVENV_STATE + "/deno";
env.DENO_DIR = config.env.DENO_INSTALL_ROOT + "/cache";

enterShell = ''
export PATH="$PATH:$DENO_INSTALL_ROOT/bin"
'';
};
}

0 comments on commit c908963

Please sign in to comment.