packages/uptime-kuma: fix build with new dream2nix

This commit is contained in:
Max Headroom 2022-08-09 17:45:27 +02:00
parent 5508888da9
commit 6a24c6d8c6

View file

@ -55,6 +55,9 @@ in
mv $NIX_BUILD_TOP/node_modules_saved node_modules
'';
# unfortunately, upstream's installMethod = copy results in bloat, so we can't use it
installMethod = "symlink";
postInstall = ''
makeWrapper $(command -v node) $out/bin/uptime-kuma \
--add-flags "server/server.js" \