tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
yaml-language-server: use writableTmpDirAsHomeHook
Daniel Nagy
11 months ago
eae90bb6
797ee066
+2
-1
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ya
yaml-language-server
package.nix
+2
-1
pkgs/by-name/ya/yaml-language-server/package.nix
···
5
fixup-yarn-lock,
6
makeWrapper,
7
nodejs,
0
8
stdenv,
9
yarn,
10
}:
···
30
fixup-yarn-lock
31
yarn
32
nodejs
0
33
];
34
35
# NodeJS is also needed here so that script interpreter get patched
···
40
configurePhase = ''
41
runHook preConfigure
42
43
-
export HOME=$(mktemp -d)
44
yarn config --offline set yarn-offline-mirror "$offlineCache"
45
fixup-yarn-lock yarn.lock
46
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
···
5
fixup-yarn-lock,
6
makeWrapper,
7
nodejs,
8
+
writableTmpDirAsHomeHook,
9
stdenv,
10
yarn,
11
}:
···
31
fixup-yarn-lock
32
yarn
33
nodejs
34
+
writableTmpDirAsHomeHook
35
];
36
37
# NodeJS is also needed here so that script interpreter get patched
···
42
configurePhase = ''
43
runHook preConfigure
44
0
45
yarn config --offline set yarn-offline-mirror "$offlineCache"
46
fixup-yarn-lock yarn.lock
47
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install