From b959792865ff54fa9a6324045b62a2b1962641b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Fri, 4 Nov 2022 16:05:09 +0100 Subject: [PATCH] Copy the lockfile to the installation. The `yarn nixify install-bin` step fails without it. --- src/tmpl/yarn-project.nix.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmpl/yarn-project.nix.in b/src/tmpl/yarn-project.nix.in index 85d6a04..7a84b74 100644 --- a/src/tmpl/yarn-project.nix.in +++ b/src/tmpl/yarn-project.nix.in @@ -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