From 81d824bb1cbefef581987d9029df404cfd036ca0 Mon Sep 17 00:00:00 2001 From: Albert Chae Date: Sun, 3 Mar 2024 23:09:41 -0800 Subject: [PATCH] To build with workspaces, use installInPlace and distDir="." Per discussion in https://github.com/nzbr/pnpm2nix-nzbr/issues/29 --- pkgs/by-name/atomic-browser/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/atomic-browser/package.nix b/pkgs/by-name/atomic-browser/package.nix index cefb49b2..f8fa82ca 100644 --- a/pkgs/by-name/atomic-browser/package.nix +++ b/pkgs/by-name/atomic-browser/package.nix @@ -12,5 +12,9 @@ mkPnpmPackage rec { version = "v0.37.0"; src = "${source}/browser"; + installInPlace = true; + + distDir = "."; # Copy everything to the output + extraBuildInputs = [pkgs.typescript]; }