mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
refactor(flake): deduplicate environment variables
This commit is contained in:
parent
7b577e31c4
commit
fc4ec9a045
11
flake.nix
11
flake.nix
@ -23,9 +23,16 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
# Disable NX interaction
|
||||||
|
export NX_TUI=false
|
||||||
|
export NX_DAEMON=false
|
||||||
|
|
||||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) node_modules/.pnpm/sass-embedded-linux-x64@1.87.0/node_modules/sass-embedded-linux-x64/dart-sass/src/dart
|
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) node_modules/.pnpm/sass-embedded-linux-x64@1.87.0/node_modules/sass-embedded-linux-x64/dart-sass/src/dart
|
||||||
NX_TUI=false NX_DAEMON=false pnpm nx run desktop:build --outputStyle stream --verbose
|
pnpm nx run desktop:build --outputStyle stream --verbose
|
||||||
NX_TUI=false NX_DAEMON=false npm_config_nodedir=${electron.headers} pnpm nx run desktop:rebuild-deps --outputStyle stream --verbose
|
|
||||||
|
# Rebuild dependencies
|
||||||
|
export npm_config_nodedir=${electron.headers}
|
||||||
|
pnpm nx run desktop:rebuild-deps --outputStyle stream --verbose
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user