Fix some Vulkan stuff
This commit is contained in:
parent
f4690418b1
commit
46362ce186
2 changed files with 9 additions and 0 deletions
|
|
@ -8,6 +8,13 @@
|
|||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
then
|
||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||
LD_LIBRARY_PATH="''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${
|
||||
with pkgs;
|
||||
lib.makeLibraryPath [
|
||||
vulkan-loader
|
||||
]
|
||||
}"
|
||||
export LD_LIBRARY_PATH
|
||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||
fi
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue