Copy the lockfile to the installation.

The `yarn nixify install-bin` step fails without it.
This commit is contained in:
Stéphan Kochen
2022-11-04 16:05:09 +01:00
parent c02b964a4c
commit b959792865
+1 -1
View File
@@ -159,7 +159,7 @@ let
yarn pack --out package.tgz
tar xzvf package.tgz --directory "$out/libexec/$name" --strip-components=1
cp .yarnrc* "$out/libexec/$name"
cp .yarnrc* '@@LOCKFILE@@' "$out/libexec/$name"
cp --recursive .yarn "$out/libexec/$name"
# If the project uses the node-modules linker, then