about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/torq/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/torq/default.nix')
-rw-r--r--pkgs/applications/blockchains/torq/default.nix5
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; {