From 435d052e1c8b853d53d1b0cedd14e69845128258 Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Mon, 2 Oct 2023 17:02:07 -0700 Subject: [PATCH] Fix lockfile name --- src/tmpl/yarn-project.nix.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tmpl/yarn-project.nix.in b/src/tmpl/yarn-project.nix.in index c1d54d3..6a6faf6 100644 --- a/src/tmpl/yarn-project.nix.in +++ b/src/tmpl/yarn-project.nix.in @@ -162,7 +162,8 @@ let mkdir -p "$out/libexec/$name" tar xzvf package.tgz --directory "$out/libexec/$name" --strip-components=1 - cp .yarnrc* ${lockfile} "$out/libexec/$name" + cp .yarnrc* "$out/libexec/$name" + cp ${lockfile} "$out/libexec/$name/yarn.lock" cp --recursive .yarn "$out/libexec/$name" # If the project uses the node-modules linker, then