01:03
jtojnar has quit [Ping timeout: 240 seconds]
01:04
philr has quit [Ping timeout: 246 seconds]
01:53
<
disasm >
what's the preferred way currently for setting up a linux build slave on a mac? xhyve? docker?
01:55
<
clever >
disasm: i think gchristensen wrote something for that
02:00
<
disasm >
gchristensen: if you have something, I'd love to see it :)
02:06
<
disasm >
gchristensen: perfect :) can that be installed with nix-darwin or is it recommended to use nix-env?
02:35
abathur has joined #nix-darwin
04:58
abathur has quit [Ping timeout: 246 seconds]
06:27
jtojnar has joined #nix-darwin
06:40
jtojnar has quit [Quit: jtojnar]
07:53
trcc has joined #nix-darwin
07:53
trcc has quit [Remote host closed the connection]
07:54
trcc has joined #nix-darwin
08:03
philr has joined #nix-darwin
08:09
trcc has quit [Remote host closed the connection]
08:09
trcc has joined #nix-darwin
08:14
trcc has quit [Ping timeout: 245 seconds]
08:14
trcc has joined #nix-darwin
09:19
nikivi has quit [Quit: ZNC is awesome]
09:22
nikivi has joined #nix-darwin
09:46
jtojnar has joined #nix-darwin
09:57
philr has quit [Ping timeout: 245 seconds]
10:52
trcc has quit [Ping timeout: 268 seconds]
12:28
philr has joined #nix-darwin
14:35
philr has quit [Read error: Connection reset by peer]
14:35
philr has joined #nix-darwin
14:48
philr has quit [Ping timeout: 268 seconds]
15:19
nD5Xjz has joined #nix-darwin
15:46
dmj` has joined #nix-darwin
15:46
<
dmj` >
does patchelf use /usr/bin/install_name_tool on Darwin?
15:47
<
dmj` >
I am building a haskell project and would like to link with a dylib
15:47
<
dmj` >
otool -L shows it is not located in the nix store (despite being built with nix)
15:51
<
dmj` >
I have a cabal file with extra-libraries: libraryname
16:27
<
matthewbauer[m] >
dmj`: no it only works on elfs
16:28
<
matthewbauer[m] >
but we do provide install_name_tool for darwin
16:32
<
dmj` >
matthewbauer[m]: do you provide swift and objective-c compilers as well
16:32
<
dmj` >
matthewbauer[m]: also, did you implement the crossPkgs infra in nixpkgs? If so, great work.
16:33
<
matthewbauer[m] >
I think objc works in stdenv
16:33
<
matthewbauer[m] >
but swift is still a work in progress
16:33
<
dmj` >
matthewbauer[m]: the package swift isn't supported on darwin apparently
16:33
<
dmj` >
which seems odd
16:34
<
matthewbauer[m] >
yeah it's kind of annoying right now
16:34
<
dmj` >
that might be the culprit
16:34
<
LnL >
yeah, I looked at it at some point
16:35
<
LnL >
but it didn't seem that straightforward to fix the build
16:36
<
dmj` >
right now I invoke swiftc manually using /usr/bin/swiftc, but feels dirty inside of nix
16:37
<
dmj` >
I add extra-libraries: lib to my cabal file, and addExtraLibrary with nix, but the resulting executable doesn't show an absolute path when calling otool -L on the executable for the library
16:37
<
dmj` >
so I have to install_name_tool
16:46
<
dmj` >
matthewbauer[m]: How do I make it so that when I build a haskell library, that the third party library is linked in using the path to the nix store
17:03
<
matthewbauer[m] >
you need to set the install name identifier for the 3rd party
17:03
<
matthewbauer[m] >
install_name_tool -id
17:51
<
dmj` >
matthewbauer[m]: that worked, LnL showed me the light
17:51
<
dmj` >
matthewbauer[m]: so I noticed there's this
17:51
<
dmj` >
pkgsCross.iphone64-simulator.haskell.packages.ghc863.aeson
17:51
<
dmj` >
inside nixpkgs
17:51
<
dmj` >
was wondering, how can I get my haskell package to run on the ios-simulator
18:26
<
matthewbauer[m] >
the binary should just run, but you probably need to wrap it in an app
18:26
<
matthewbauer[m] >
and do ```simctl install booted /path/to/Your.app```
18:29
<
matthewbauer[m] >
we should get some helpers to do this, but the directory basically looks like:
21:53
philr has joined #nix-darwin
22:21
<
johnw >
LnL: appears you're the maintainer for nixos/tests/docker-tools.nix?
22:22
<
LnL >
I am? guess it was empty when I edited it :)
22:22
<
johnw >
haha, you're listed as the only maintainer
22:23
<
LnL >
yeah, if I notice something without a maintainer I sometimes add myself
22:27
<
LnL >
what about it?
22:28
<
johnw >
just wondering if it could possibly work outside the context of NixOS
22:29
<
johnw >
I have some docker tests I want to run, on any system that supports dockerTools
22:31
<
LnL >
ah no, nixos need a linux system for the vms
22:34
<
LnL >
not sure how you'd test it in isolation without a docker daemon and a bunch of the dockerTools functionality depends on running vms anyway
22:43
henrytill has joined #nix-darwin
23:20
nD5Xjz has quit [Remote host closed the connection]
23:21
nD5Xjz has joined #nix-darwin
23:32
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:57
jtojnar has quit [Quit: jtojnar]