Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/modules/mkNakedShell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ let
export LIBRARY_PATH="$DEVENV_PROFILE/lib:''${LIBRARY_PATH-}"
export C_INCLUDE_PATH="$DEVENV_PROFILE/include:''${C_INCLUDE_PATH-}"

${lib.optionalString pkgs.stdenv.isDarwin ''
export DYLD_LIBRARY_PATH="$DEVENV_PROFILE/lib:''${DYLD_LIBRARY_PATH-}";
''}

# these provide shell completions / default config options
export XDG_DATA_DIRS="$DEVENV_PROFILE/share:''${XDG_DATA_DIRS-}"
export XDG_CONFIG_DIRS="$DEVENV_PROFILE/etc/xdg:''${XDG_CONFIG_DIRS-}"
Expand Down