Sonarpulse has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 260 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs has joined #nix-darwin
jrolfs has quit [Ping timeout: 256 seconds]
Guest93844 has joined #nix-darwin
Guest93844 has quit [Client Quit]
gridaphobe has quit [*.net *.split]
cstrahan has quit [*.net *.split]
zimbatm has quit [*.net *.split]
zimbatm has joined #nix-darwin
gridaphobe has joined #nix-darwin
cstrahan has joined #nix-darwin
LnL has quit [Ping timeout: 260 seconds]
LnL has joined #nix-darwin
jrolfs has joined #nix-darwin
periklis has joined #nix-darwin
jrolfs has quit [Ping timeout: 264 seconds]
jrolfs has joined #nix-darwin
periklis has quit [Ping timeout: 260 seconds]
hamishmack has quit [Ping timeout: 260 seconds]
__Sander__ has joined #nix-darwin
philr has quit [Quit: WeeChat 2.1]
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
hamishmack has joined #nix-darwin
acowley has quit [Ping timeout: 240 seconds]
acowley has joined #nix-darwin
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nix-darwin
Sonarpulse has joined #nix-darwin
dddelta has joined #nix-darwin
<dddelta> Quick question, are all patchelf derivations pretty much impossible to port to darwin?
<dddelta> do you guys have homebrew installed as a backup for apps than are not in nixpkgs?
periklis has joined #nix-darwin
<clever> dddelta: yeah, patchelf is for linux only binaries
<dddelta> no alternatives, I assume?
<clever> even if there was, the binary your patching is still linux-only
<dddelta> do you then use brew as a backup for things not in nixpkgs? or any other alternatives?
<dddelta> I would love to try to "port" some of these linux only derivations, but if patchelf is a blocker, I'm out of ideas on what to do.
<clever> brew only works if the source for the package is available
<clever> and if the source is available, then you dont need patchelf, you can just compile it from source, for both linux and darwin
<dddelta> brew casks
<mitchty> why would patchelf be a blocker on osx?
<dddelta> Say, for instance, this. I'd like to be able to install it via nix, but I'm not sure how I'd proceed: https://github.com/NixOS/nixpkgs/blob/7cbf6ca1c84dfc917c1a99524e082fb677501844/pkgs/development/compilers/dotnet/sdk/default.nix#L48
<mitchty> swap out the patchelf stuff to be linux only, and install_name_tool the binaries on darwin if needed
<mitchty> is there not a darwin version of dotnet?
<dddelta> There is, and my options for installing it are: using their installer, using brew, using nix. I'd like to keep my things under nix's control if at all possible.
<dddelta> -- not sure that was your question
<dddelta> nixpkgs doesn't have a version that I could find.
<clever> dddelta: currently, its downloading the linux build of dotnet
__Sander__ has quit [Quit: Konversation terminated!]
<clever> you need to change the src based on what pkgs.system is, and then conditionally use either patchelf or install_name_tool
* dddelta goes to checkout install_name_tool
<mitchty> looking at their osx disk image you might be able to pull apart the disk image and packages in nix
<mitchty> their post scripts don't look too complex
<mitchty> pkgutil --expand pkg name /tmpdir, find all the pkgs, gzcat Payload | cpio -i would be how i'd start going down that path
<mitchty> you might not need install_name_tool
<clever> also of note, xar can unpack a .pkg file
<clever> ive used this derivation to rip open a .pkg file, from linux, and extract its assets
<mitchty> biggest problem might be this silliness from one of their postinstall scripts
<mitchty> echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet
<mitchty> actually scratch that, i need coffee
<mitchty> clever: cool beans, danke
<mitchty> can tell they're not used to unix, no install but test and mkdir [ -d $INSTALL_TEMP_HOME ] || mkdir $INSTALL_TEMP_HOME
<mitchty> maybe i can contrbute to dotnet a 2 line change :)
dddelta has quit [Ping timeout: 256 seconds]
dddelta has joined #nix-darwin
dddelta has quit [Ping timeout: 260 seconds]
dddelta has joined #nix-darwin
dddelta has quit [Ping timeout: 264 seconds]
periklis has quit [Ping timeout: 255 seconds]
dddelta has joined #nix-darwin
jrolfs has quit [Ping timeout: 256 seconds]
dddelta has quit [Ping timeout: 256 seconds]
jrolfs has joined #nix-darwin
dddelta has joined #nix-darwin
dddelta has quit [Read error: Connection reset by peer]
Lisanna has quit [Quit: Lisanna]
jrolfs has quit [Ping timeout: 260 seconds]
jrolfs has joined #nix-darwin
justinweiss has joined #nix-darwin
ldlework has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 264 seconds]
jrolfs has joined #nix-darwin
hamishma_ has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs_ has joined #nix-darwin
jrolfs has quit [Ping timeout: 256 seconds]
jrolfs_ has quit [Ping timeout: 260 seconds]
disasm has quit [Ping timeout: 260 seconds]
Sonarpulse has quit [Ping timeout: 268 seconds]
jrolfs_ has joined #nix-darwin