<aterius> Hmm, still not hitting the cachix build even using nixos-unstable... does it matter if I use the channel vs the git?
<adisbladis> aterius: I didn't add emacsGcc to the hydra jobset (yet)
<aterius> Ahh that makes sense :)
<aterius> Have you tried using auctex? I'm getting errors when I try to native compile it
<aterius> `File too short`
<adisbladis> I haven't really tried many packages yet :)
<aterius> No worries! Just curious
<adisbladis> Should be in the binary cache soon https://hydra.nix-community.org/build/205376
<aterius> The packager of the guix native comp branch mentioned that we might be missing some libraries, which is why certain packages are failing to build
<bqy> Which libraries? It looks accurate to me (been on gccemacs for days now
<aterius> Sorry setting library path
<aterius> Maybe it's because I'm trying to compile/use libraries not managed by nix (using doom emacs)
<bqy> Oh, right
<bqy> Yeah I imagine that'd not be ideal
<aterius> I think ammending LIBRARY_PATH to ` LIBRARY_PATH = "${super.lib.getLib self.stdenv.cc.libc}/lib:${super.lib.getLib self.stdenv.cc.cc}/lib:${super.lib.getLib self.libgccjit}/lib:";` might fix things, trying now
<aterius> nope
<aterius> Ah, maybe I'm not wrapping emacs so it's not available at runtime
<aterius> Hmm, I tried appending LIBRARY_PATH at runtime and no dice
<aterius> Nice, adding these to library path seem to make it work
qyliss has quit [Quit: bye]
qyliss has joined #nixos-emacs
cole-h has quit [Quit: Goodbye]
asymptotically has joined #nixos-emacs
<adisbladis> aterius: Would you mind making a pull request with this?
<aterius> I would be happy to, but I can't figure out the right way to wrap emacs
<adisbladis> How are you using these lines?
<aterius> nix repl then copying the paths to my shell's LIBRARY envvar
<adisbladis> Huh, LIBRARY?
<adisbladis> Do you mean LD_LIBRARY_PATH?
<aterius> No
<aterius> sorry
<aterius> LIBRARY_PATH
<aterius> not LD_LIBRARY_PATH
<adisbladis> Hm
<adisbladis> I _really_ want to avoid setting that...
<adisbladis> I need to dig into how it's interpreted
<adisbladis> I wouldn't want native_comp to pollute my development enironments
<aterius> Oh, you mean, if we wrapped emacs that would pollute your development environment?
<adisbladis> Yes
<aterius> Because of subshells?
<aterius> Just want to make sure I understand
<adisbladis> I use direnv (+ emacs-direnv)
<adisbladis> And have as little as possible in my global environment
<adisbladis> I wouldn't want a compiler not defined in my shell.nix to suddenly be accessible or be mixed in with that
<aterius> Right, I get that, but I thought when you generate a wrapper in that derivation the environmental variables set are only exposed to the wrapped program
<aterius> in this case emacs
<aterius> (I also use direnv)
<adisbladis> Which I use to launch all my other programs
<aterius> Ahhh
<aterius> Yeah that's what I was wondering
<aterius> ok
<adisbladis> I don't really know how native-comp works, but I imagine we can set some emacs-lisp variable pointing at this stuff rather than an environment variable
<adisbladis> To prevent it being inherited through the environment
<aterius> Can always ask Andrea haha
<adisbladis> That'd be nice =)
<adisbladis> Alright, so Emacs itself doesn't seem to have any awareness of LIBRARY_PATH
<aterius> Yeah as far as I'm aware it's for gcc
<adisbladis> Which isn't really surprising, but it probably means there is no customize we can do
<aterius> I think it may only be needed during compile time
<aterius> so one option would be to have a wrapped emacs for updating/compiling your packages... and then use a non-wrapped emacs other times
<aterius> or just install all packages through nix :P
<adisbladis> But for sure we want to support the use case of non nix-built lisp code
<adisbladis> So we'll still need to figure this out
<adisbladis> Hm, interesting :)
<adisbladis> Even when running native-comp from emacs code it spawns another emacs subprocess doing the compilation in batch mode
<aterius> yeah, for now i just wrote an upgrade script that appends my LIBRARY_PATH whenever i call straight.el
<aterius> I get one failed compilation on evil libvterm, but that doesn't seem to matter
<aterius> All my other packages are working fine
<aterius> it might be worth bumping libgccjit to use gcc10
<aterius> there's apparently issues with the size of statics
neeasade has quit [Ping timeout: 265 seconds]
neeasade has joined #nixos-emacs
bkv has quit [Quit: WeeChat 2.8]
bqv has joined #nixos-emacs
jordansinn_ has joined #nixos-emacs
jeschli1 has joined #nixos-emacs
jeschli has quit [Ping timeout: 246 seconds]
mtjmullen has quit [Ping timeout: 264 seconds]
jordansinn has quit [Ping timeout: 264 seconds]
mutantmell has joined #nixos-emacs
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos-emacs
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos-emacs
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos-emacs
cole-h has joined #nixos-emacs
neeasade has quit [Ping timeout: 265 seconds]
<aterius> Is there a reason emacs isn't compiled with xwidget support?
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos-emacs
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos-emacs
rajivr has quit [Ping timeout: 260 seconds]
wildsebastian has quit [Ping timeout: 272 seconds]
ajmcmiddlin has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 260 seconds]
feepo has quit [Ping timeout: 272 seconds]
jackdk has quit [Ping timeout: 272 seconds]
peel has quit [Ping timeout: 260 seconds]
ctp has quit [Ping timeout: 260 seconds]
peel has joined #nixos-emacs
claudiii has quit [Ping timeout: 272 seconds]
claudiii_ has joined #nixos-emacs
jackdk has joined #nixos-emacs
ctp has joined #nixos-emacs
asymptotically has quit [Quit: Leaving]
feepo has joined #nixos-emacs
wildsebastian has joined #nixos-emacs
rajivr has joined #nixos-emacs
manveru has joined #nixos-emacs
ajmcmiddlin has joined #nixos-emacs
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-emacs
bqv has quit [Ping timeout: 260 seconds]
cole-h has quit [Client Quit]
bqv has joined #nixos-emacs
cole-h has joined #nixos-emacs
cole-h has quit [Client Quit]
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos-emacs
cole-h has joined #nixos-emacs
cole-h has quit [Client Quit]
bqv has quit [Remote host closed the connection]
bqv has joined #nixos-emacs