"mktemp -d" is not deterministic (#12)

Fixes #10
This commit is contained in:
SnO₂WMaN 2022-10-14 22:39:17 +09:00 committed by GitHub
parent a2092563c4
commit fa15d03cdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,8 @@ in
buildInputs = with pkgs; [deno jq];
buildPhase = ''
export DENO_DIR=`mktemp -d`
export DENO_DIR="/tmp/deno2nix"
mkdir -p $DENO_DIR
ln -s "${mkDepsLink lockfile}" $(deno info --json | jq -r .modulesCache)
deno bundle \

View file

@ -21,7 +21,8 @@ in
buildInputs = with pkgs; [deno jq];
buildPhase = ''
export DENO_DIR=`mktemp -d`
export DENO_DIR="/tmp/deno2nix"
mkdir -p $DENO_DIR
ln -s "${mkDepsLink lockfile}" $(deno info --json | jq -r .modulesCache)
deno compile \