diff options
author | Martin Milata <martin@martinmilata.cz> | 2023-02-13 14:40:29 +0100 |
---|---|---|
committer | Martin Milata <martin@martinmilata.cz> | 2023-02-13 14:58:49 +0100 |
commit | 8c9a8fa6e37b7f4c941362a9190ba251d712788c (patch) | |
tree | a831e17629064714320aa6bfe5dc91d39c575492 /pkgs/applications/blockchains/torq | |
parent | 75ff08ecf8936accba32ed69526b5c7bce168f1d (diff) |
torq: copy frontend instead of linking
Diffstat (limited to 'pkgs/applications/blockchains/torq')
-rw-r--r-- | pkgs/applications/blockchains/torq/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/torq/default.nix b/pkgs/applications/blockchains/torq/default.nix index 4b786168bce36..bda5fbd036a22 100644 --- a/pkgs/applications/blockchains/torq/default.nix +++ b/pkgs/applications/blockchains/torq/default.nix @@ -29,7 +29,7 @@ let # override npmInstallHook, we only care about the build/ directory installPhase = '' mkdir $out - cp -r build $out/ + cp -r build/* $out/ ''; }; in @@ -47,7 +47,8 @@ buildGoModule rec { ]; postInstall = '' - ln -s ${web} $out/web + mkdir -p $out/web/build + cp -r ${web}/* $out/web/build/ ''; meta = with lib; { |