Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

yaml-language-server: use writableTmpDirAsHomeHook

Daniel Nagy eae90bb6 797ee066

+2 -1
+2 -1
pkgs/by-name/ya/yaml-language-server/package.nix
··· 5 fixup-yarn-lock, 6 makeWrapper, 7 nodejs, 8 stdenv, 9 yarn, 10 }: ··· 30 fixup-yarn-lock 31 yarn 32 nodejs 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 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