mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 11:37:46 +00:00
torq: copy frontend instead of linking
This commit is contained in:
parent
75ff08ecf8
commit
8c9a8fa6e3
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user