torq: copy frontend instead of linking

This commit is contained in:
Martin Milata 2023-02-13 14:40:29 +01:00
parent 75ff08ecf8
commit 8c9a8fa6e3

View File

@ -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; {