<jtojnar>
I still do not understand the need for install_name
<jtojnar>
if it is simply copied to LC_LOAD_DYLIB, why not just pass it as an option to linker?
<jtojnar>
it seems to me like if .pc file was embedded to library .so
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
Sonarpulse has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 240 seconds]
jtojnar_ is now known as jtojnar
peacememories has joined #nix-darwin
<peacememories>
if i wanted to install a specific version of gcc in a nix-shell, what would i need to do?
<mitchty>
dhess: i poked around a bit more last night at core files, this weeks fun is learning cmm, stg, and more llvm shenanigans, i did find out this morning that I can get further by not building haddock docs
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
<peacememories>
hmm, gcc49 doesn't build for me
<peacememories>
because apparently _VSTD::abort() expands to std::__1::fancy_abort(), but fancy_abort doesn't have a namespace
<LnL>
yeah not all versions of gcc currently build on darwin
<peacememories>
hmm, can i fix this somehow?
<peacememories>
or should they maybe be disabled on darwin?
<peacememories>
so people don't get their hopes up
<peacememories>
btw, nixpkgs-unstable should have binary caches, right?
<LnL>
but for versions that work you can use nix-shell -p gcc7
<LnL>
or for a full stdenv environment something like this
<LnL>
nix-shell -E 'with import <nixpkgs> {}; (gccStdenv.override { cc = gcc7; }).mkDerivation { name = "shell-environment"; }'
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
<peacememories>
hmm, the `repo` tool is not in the nix repos?
<peacememories>
hmm, i tried to make this environment with gcc on my ubuntu build server
<peacememories>
and i get this error:
<peacememories>
building path(s) ‘/nix/store/5kqylzzcgpsds2qi8wmg873hkq6qawy2-stdenv’
<peacememories>
output ‘/nix/store/5kqylzzcgpsds2qi8wmg873hkq6qawy2-stdenv’ is not allowed to refer to path ‘/nix/store/83abj589v6z6qak2rxlb9vvynnfvnrzg-gmp-6.1.2’
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Sander__ has quit [Quit: Konversation terminated!]
jtojnar has quit [Quit: jtojnar]
peacememories has joined #nix-darwin
peacememories has quit [Client Quit]
peacememories has joined #nix-darwin
<peacememories>
hmm
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nix-darwin
periklis has quit [Ping timeout: 246 seconds]
<adelbertc>
is there something up with nixpkgs emacs on darwin? both on my personal and work laptop using Nix-installed emacs just seems to hang
<johnw>
adelbertc: on startup?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adelbertc>
johnw: yep
<adelbertc>
i type `emacs` in the terminal and it just hangs there
<johnw>
can you run: emacs --debug-init
peacememories has joined #nix-darwin
<johnw>
if that still hangs, run:
<johnw>
lldb -o run -f $(which emacs) -- --debug-init
<johnw>
and then let it hangs for a bit and hit C-c and type "bt<RET>"
<johnw>
I've defined a few functions for easily grabbing things from EmacsWiki (when MELPA doesn't have them), patching Melpa definitions, and installing from GitHub when all that the project needs is to byte-compile some .el files at root
<johnw>
the custom-building of Emacs at the bottom can be ignored
<johnw>
i end up with 4 separate Emacs environments: current release (25), pending release (26), pending release with full debugging (26debug), and current master with full debugging (27)
<johnw>
with all packages included in every environment
<johnw>
thank goodness they're pretty quick to build :)
<johnw>
all of this is then mirrored by use-package declarations here:
<dtz>
on the subject, was just thinking the other day--is it a silly objective/goal to be able to cross-compile to Darwin (or even "native" using free things + VM)?
<dtz>
I imagine if it wasn't impossible/unreasonable we'd probably already that sort of infra in place but just wondering :)
<LnL>
I think linux->darwin used to work before Sonarpulse's overhaul
<Sonarpulse>
:O
<Sonarpulse>
oh linux->darwin
<Sonarpulse>
hmm
<LnL>
when I tried it a few days ago there was some kind of recursion problem, but it might be mostly ok after that
<Sonarpulse>
not for a while maybe??
<Sonarpulse>
that would be with clang?
<Sonarpulse>
dtz: need those LLVM fixes in that commit :D