nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin
philr has joined #nix-darwin
periklis has joined #nix-darwin
philr has quit [Quit: WeeChat 2.0.1]
<mpickering> Should LC_LOAD_DYLINKER be something other than /usr/lib/dyld ?
<LnL> no, the kernel doesn't allow that anymore :/
<mpickering> It seems that fixing liblas didn't fix the gdal problem so I need to work out this evening where the /usr/opt path was coming from
jtojnar_ has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
<LnL> yeah that one is a bit weird, gdal looks fine in nixpkgs
<LnL> so I'm suspecting one of the builds might be using a vendored version that doesn't build correctly
jtojnar_ has quit [Ping timeout: 260 seconds]
jtojnar has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
<mitchty> migrating my work laptop to the nix multi user install, easiest to just nuke everything and reinstall?
ryanartecona has quit [Quit: ryanartecona]
Sonarpulse has joined #nix-darwin
<mpickering> If all the paths look right running "otool -l" on the executable, what else could try and load the library? Should all dependencies be listed there? Can libraries transitively import things?
<mpickering> I can't see anything in the source which mentions "libgdal" at all, life's mysteries are endless
<LnL> otool -l is only for the current library so you have to do that recursively to find everything
jrolfs has joined #nix-darwin
periklis has quit [Ping timeout: 255 seconds]
Lisanna has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
philr has joined #nix-darwin
philr has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
Sonarpulse has quit [Ping timeout: 260 seconds]
Sonarpulse has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
<mpickering> I am tracing now using "DYLD_PRINT_LIBRARIES=1" and I see that the problems start when /usr/local/lib/liblas.3.dylib is loaded but /usr/local/lib isn't in the PATH at all
jrolfs has quit [Ping timeout: 256 seconds]
<LnL> /usr/local/lib/liblas.3.dylib: No such file or directory
<LnL> do you have homebrew stuff installed?
<mpickering> Yes
<LnL> yeah no sandbox + homebrew means stuff might find those even if you don't tell it to look there
<mpickering> So I know one solution is to remove this non-nix managed stuff but I want to solve the impurity properly so if someone else with a messy environment like me tries to install this package it works
<mpickering> am I being unrealistic?
<LnL> I could test on my builder if you want
<LnL> it doesn't have any CLT/xcode/homebrew stuff installed
<mpickering> ok I will need to push a branch, one sec
<mpickering> thanks a lot
<LnL> it's basically my "sandbox" build until we finally fix sandboxing properly :p
jrolfs has joined #nix-darwin
<mpickering> "grass" attribute
<mpickering> nix-build ./ -A grass is the command I usually use
jrolfs has quit [Ping timeout: 265 seconds]
<mpickering> If that fails, this is the actual branch I am using - https://github.com/mpickering/nixpkgs/tree/qgis-darwin but it's quite a way behind master
<mpickering> ah I have found it
<mpickering> @rpath/liblas.3.dylib (offset 24)
<mpickering> in liblas_c.dylib
<mpickering> Now why does fixDarwinDylibNames not fix that I wonder
<LnL> not sure if that works for @rpath placeholders
<mpickering> ahh
<mpickering> so I should use install_name_tool myself in the derivation?
<LnL> yeah
<LnL> or figure out if you can override the install name with a make flag or something
jrolfs has joined #nix-darwin
<LnL> oh! it's that late already...
<LnL> want me to start another build?
<mpickering> I can change it to the correct thing using -change but still trying to work out what -id does exactly
<mpickering> I should be good for now
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nix-darwin
<gchristensen> puffnfresh: could you tag a release on the command store? I'm looking to pin it internally
<puffnfresh> yeah sure
<gchristensen> cool, thanks!
<puffnfresh> gchristensen: pushed v0.0.1
<puffnfresh> is that good?
<gchristensen> perfect!
ryanartecona has joined #nix-darwin
<gchristensen> thank you :D
<johnw> puffnfresh: are you back in Australia, or still in the States?
<puffnfresh> johnw: yeah back in Australia, live in Tasmania :)
<johnw> ooh, Tasmania! I almost visited there once
<johnw> was deciding on whether to go for a day trip or not when I spent a month in Melbourne
<puffnfresh> yeah it's a big tourist destination, we've got some good stuff!! :)
ryanartecona has quit [Quit: ryanartecona]
<mpickering> So now I've spent a month packaging QGIS for my project. It's time to finally start the project right !?
jrolfs has quit [Ping timeout: 256 seconds]
jtojnar has quit [Ping timeout: 264 seconds]
jrolfs has joined #nix-darwin