01:42
Sonarpulse has quit [Ping timeout: 256 seconds]
02:07
jrolfs has quit [Ping timeout: 256 seconds]
02:38
jrolfs has joined #nix-darwin
02:44
jrolfs has quit [Ping timeout: 260 seconds]
02:56
jrolfs has joined #nix-darwin
03:16
jrolfs has quit [Ping timeout: 240 seconds]
03:19
jrolfs has joined #nix-darwin
03:26
jrolfs has quit [Ping timeout: 256 seconds]
04:21
Guest93844 has joined #nix-darwin
04:23
Guest93844 has quit [Client Quit]
05:15
gridaphobe has quit [*.net *.split]
05:15
cstrahan has quit [*.net *.split]
05:15
zimbatm has quit [*.net *.split]
05:16
zimbatm has joined #nix-darwin
05:16
gridaphobe has joined #nix-darwin
05:16
cstrahan has joined #nix-darwin
05:18
LnL has quit [Ping timeout: 260 seconds]
05:20
LnL has joined #nix-darwin
07:19
jrolfs has joined #nix-darwin
07:20
periklis has joined #nix-darwin
07:27
jrolfs has quit [Ping timeout: 264 seconds]
07:42
jrolfs has joined #nix-darwin
08:06
periklis has quit [Ping timeout: 260 seconds]
08:29
hamishmack has quit [Ping timeout: 260 seconds]
08:42
__Sander__ has joined #nix-darwin
08:49
philr has quit [Quit: WeeChat 2.1]
09:31
hamishmack has joined #nix-darwin
09:35
hamishmack has quit [Client Quit]
09:48
hamishmack has joined #nix-darwin
11:48
acowley has quit [Ping timeout: 240 seconds]
11:51
acowley has joined #nix-darwin
12:08
disasm has quit [Quit: WeeChat 2.0]
12:36
disasm has joined #nix-darwin
14:48
Sonarpulse has joined #nix-darwin
14:49
dddelta has joined #nix-darwin
14:50
<
dddelta >
Quick question, are all patchelf derivations pretty much impossible to port to darwin?
14:52
<
dddelta >
do you guys have homebrew installed as a backup for apps than are not in nixpkgs?
15:05
periklis has joined #nix-darwin
15:15
<
clever >
dddelta: yeah, patchelf is for linux only binaries
15:16
<
dddelta >
no alternatives, I assume?
15:18
<
clever >
even if there was, the binary your patching is still linux-only
15:20
<
dddelta >
do you then use brew as a backup for things not in nixpkgs? or any other alternatives?
15:24
<
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.
15:34
<
clever >
brew only works if the source for the package is available
15:34
<
clever >
and if the source is available, then you dont need patchelf, you can just compile it from source, for both linux and darwin
15:34
<
dddelta >
brew casks
15:34
<
mitchty >
why would patchelf be a blocker on osx?
15:37
<
mitchty >
swap out the patchelf stuff to be linux only, and install_name_tool the binaries on darwin if needed
15:38
<
mitchty >
is there not a darwin version of dotnet?
15:39
<
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.
15:39
<
dddelta >
-- not sure that was your question
15:39
<
dddelta >
nixpkgs doesn't have a version that I could find.
15:40
<
clever >
dddelta: currently, its downloading the linux build of dotnet
15:40
__Sander__ has quit [Quit: Konversation terminated!]
15:41
<
clever >
you need to change the src based on what pkgs.system is, and then conditionally use either patchelf or install_name_tool
15:41
* dddelta
goes to checkout install_name_tool
15:42
<
mitchty >
looking at their osx disk image you might be able to pull apart the disk image and packages in nix
15:48
<
mitchty >
their post scripts don't look too complex
15:49
<
mitchty >
pkgutil --expand pkg name /tmpdir, find all the pkgs, gzcat Payload | cpio -i would be how i'd start going down that path
15:50
<
mitchty >
you might not need install_name_tool
15:51
<
clever >
also of note, xar can unpack a .pkg file
15:51
<
clever >
ive used this derivation to rip open a .pkg file, from linux, and extract its assets
15:53
<
mitchty >
biggest problem might be this silliness from one of their postinstall scripts
15:53
<
mitchty >
echo $INSTALL_DESTINATION | tee /etc/paths.d/dotnet
15:54
<
mitchty >
actually scratch that, i need coffee
15:54
<
mitchty >
clever: cool beans, danke
15:57
<
mitchty >
can tell they're not used to unix, no install but test and mkdir [ -d $INSTALL_TEMP_HOME ] || mkdir $INSTALL_TEMP_HOME
15:58
<
mitchty >
maybe i can contrbute to dotnet a 2 line change :)
16:00
dddelta has quit [Ping timeout: 256 seconds]
16:40
dddelta has joined #nix-darwin
16:55
dddelta has quit [Ping timeout: 260 seconds]
17:08
dddelta has joined #nix-darwin
17:14
dddelta has quit [Ping timeout: 264 seconds]
17:27
periklis has quit [Ping timeout: 255 seconds]
17:31
dddelta has joined #nix-darwin
17:46
jrolfs has quit [Ping timeout: 256 seconds]
17:59
dddelta has quit [Ping timeout: 256 seconds]
18:04
jrolfs has joined #nix-darwin
18:11
dddelta has joined #nix-darwin
18:29
dddelta has quit [Read error: Connection reset by peer]
18:40
Lisanna has quit [Quit: Lisanna]
18:40
jrolfs has quit [Ping timeout: 260 seconds]
18:52
jrolfs has joined #nix-darwin
20:30
justinweiss has joined #nix-darwin
20:36
ldlework has quit [Ping timeout: 256 seconds]
20:39
jrolfs has quit [Ping timeout: 264 seconds]
21:15
jrolfs has joined #nix-darwin
22:07
hamishma_ has joined #nix-darwin
22:07
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:38
jrolfs_ has joined #nix-darwin
22:39
jrolfs has quit [Ping timeout: 256 seconds]
22:48
jrolfs_ has quit [Ping timeout: 260 seconds]
23:23
disasm has quit [Ping timeout: 260 seconds]
23:24
Sonarpulse has quit [Ping timeout: 268 seconds]
23:42
jrolfs_ has joined #nix-darwin