mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 00:15:35 +02:00
fix(flake): failing due to symlinks to /build
This commit is contained in:
@@ -151,9 +151,10 @@
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# This file is a symlink into /build which is not allowed.
|
||||
# Symlinks pointing to /build directory are not allowed in the Nix store.
|
||||
# This removes all dangling symlinks that point to the temporary build directory.
|
||||
postFixup = ''
|
||||
find $out/opt -name prebuild-install -path "*/better-sqlite3/node_modules/.bin/*" -delete || true
|
||||
find $out/opt -type l -lname '/build/*' -delete || true
|
||||
'';
|
||||
|
||||
components = [
|
||||
|
||||
Reference in New Issue
Block a user