<heyarne[m]>
so i added `bass source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh` to `programs.fish.loginShellInit`, unfortunately unsuccesfully. when running that command in a shell i get errors like `$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh: line 10: $PATH${PATH:+:}${xdg.configHome}/emacs/bin: bad substitution`
<heyarne[m]>
… which i just realized is probably due to the escaped dollar sign in `home.sessionPath = [ "\${xdg.configHome}/emacs/bin" ];`. this was copied from `man home-configuration.nix`, so maybe it's a bug that that's in there?
<Shados>
heyarne[m]: you shouldn't need that; fish-foreign-env will be used automatically to source the NixOS environment if you do `programs.fish.enable = true;` in your config
<Shados>
for HM... I think it does something similiar, probably under the same option name
<Shados>
Yep, it does
<heyarne[m]>
i'm using 20.09 and it doesn't seem to do that. i don't have fish configured in `/etc/nixos/configuration.nix`, only in home-manager
<heyarne[m]>
is fish-foreign-env a builtin?
<Shados>
you'd want that setting in both, as I don't think the hm config re-sources the global profile stuff
<Shados>
no, that's the package name
<Shados>
`fenv` is the function
<Shados>
oh actually it's pkgs.fishPlugins.foreign-env now
<Shados>
forgot it got moved
<Shados>
you can install the package in your home.packages/environment.systemPackages and it should end up in fish's function path, I think
<heyarne[m]>
cool! i will give that a try
<heyarne[m]>
nice, i added the plugin to `programs.fish.plugins` and the session vars seem to be fine now. thanks so much!
leex has quit [Ping timeout: 240 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #home-manager
Mirrexagon has quit [Quit: Sense only holds you back!]
Mirrexagon has joined #home-manager
myme has quit [Quit: WeeChat 2.7]
h4ck3rm4n has joined #home-manager
cole-h has quit [Ping timeout: 240 seconds]
benkolera has joined #home-manager
patagonicus has joined #home-manager
patagonicus has quit [Remote host closed the connection]
patagonicus has joined #home-manager
piegames[m] has joined #home-manager
appservicebot5 has joined #home-manager
<patagonicus>
What's the recommended way of dealing with software that expects their config file to be writable? Copy the generated config there instead of using the default linking?
patagonicus1 has joined #home-manager
patagonicus has quit [Ping timeout: 240 seconds]
patagonicus1 is now known as patagonicus
Synthetica has joined #home-manager
nextloop has quit [Quit: WeeChat 2.1]
benkolera has quit [Quit: Connection closed for inactivity]
stephank has quit [Quit: Ping timeout (120 seconds)]
<heyarne[m]>
i have a problem that's not strictly related to home-manager (i think); when trying to use java libraries from clojure that use native code, I get errors like `CompilerException java.lang.UnsatisfiedLinkError: /tmp/jogamp_0000/file_cache/jln9771863782963443339/jln12647850080090367205/natives/linux-amd64/libnativewindow_awt.so: libXxf86vm.so.1: cannot open shared object file: No such file or directory,
<heyarne[m]>
compiling:(fourteen.clj:52:1)`. how can i make sure that the library paths are set up correctly?