File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
pkgs/applications/office/trilium Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ stdenv.mkDerivation {
1717 inherit version ;
1818 meta = metaCommon // {
1919 platforms = [ "x86_64-linux" ] ;
20+ mainProgram = "trilium-server" ;
2021 } ;
2122
2223 src = fetchurl serverSource ;
@@ -50,6 +51,12 @@ stdenv.mkDerivation {
5051 exec ./node/bin/node src/www
5152 EOF
5253 chmod a+x $out/bin/trilium-server
54+
55+ # ERROR: noBrokenSymlinks: found 4 dangling symlinks, 0 reflexive symlinks and 0 unreadable symlinks
56+ unlink $out/share/trilium-server/node/bin/npx
57+ unlink $out/share/trilium-server/node/bin/npm
58+ unlink $out/share/trilium-server/node_modules/.bin/electron
59+ unlink $out/share/trilium-server/node_modules/.bin/electron-installer-debian
5360 '' ;
5461
5562 passthru . tests = {
You can’t perform that action at this time.
0 commit comments