From de3c8e654b02734df9b09f6fd4ad207398262a58 Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Wed, 20 Jul 2022 15:11:32 -0700 Subject: [PATCH] Fix installPhase when $sourceRoot != $name --- 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 414640b..83dd169 100644 --- a/src/tmpl/yarn-project.nix.in +++ b/src/tmpl/yarn-project.nix.in @@ -137,7 +137,7 @@ let installPhase = '' runHook preInstall - mkdir -p "$out/libexec/$sourceRoot" "$out/bin" + mkdir -p "$out/libexec/$name" "$out/bin" # Move the package contents to the output directory. # - If the package.json has a `files` field, only files matching those patterns are copied