From 0bc1da471aba47da3508b5dd641a701e566e7792 Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Tue, 12 Jul 2022 18:35:03 -0700 Subject: [PATCH] Use nix package name rather than source directory name --- src/tmpl/yarn-project.nix.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tmpl/yarn-project.nix.in b/src/tmpl/yarn-project.nix.in index 202860e..34ea306 100644 --- a/src/tmpl/yarn-project.nix.in +++ b/src/tmpl/yarn-project.nix.in @@ -140,8 +140,8 @@ let mkdir -p $out/libexec $out/bin # Move the entire project to the output directory. - mv $PWD "$out/libexec/$sourceRoot" - cd "$out/libexec/$sourceRoot" + mv $PWD "$out/libexec/$name" + cd "$out/libexec/$name" # Invoke a plugin internal command to setup binaries. yarn nixify install-bin $out/bin