mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
xilinx: clean log files under homedir
This commit is contained in:
parent
7eefc579ae
commit
dcf8688a23
1 changed files with 11 additions and 0 deletions
|
|
@ -44,6 +44,17 @@ in {
|
||||||
|
|
||||||
exec /opt/Xilinx/Vitis/2022.2/bin/vitis "$@"
|
exec /opt/Xilinx/Vitis/2022.2/bin/vitis "$@"
|
||||||
'';
|
'';
|
||||||
|
executable = true;
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
# Redirect Vivado log and journal files to /tmp to avoid filling up the cwd
|
||||||
|
# Note: Untested
|
||||||
|
"${xilinxBoxHome}/.Xilinx/Vivado/Vivado_init.tcl" = {
|
||||||
|
enable = true;
|
||||||
|
text = ''
|
||||||
|
set_param general.journaldir /tmp
|
||||||
|
set_param general.logdir /tmp
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.desktopEntries = {
|
xdg.desktopEntries = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue