jtojnar has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 246 seconds]
<disasm> what's the preferred way currently for setting up a linux build slave on a mac? xhyve? docker?
<clever> disasm: i think gchristensen wrote something for that
<disasm> gchristensen: if you have something, I'd love to see it :)
<disasm> gchristensen: perfect :) can that be installed with nix-darwin or is it recommended to use nix-env?
abathur has joined #nix-darwin
abathur has quit [Ping timeout: 246 seconds]
jtojnar has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
philr has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 245 seconds]
trcc has joined #nix-darwin
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nix-darwin
jtojnar has joined #nix-darwin
philr has quit [Ping timeout: 245 seconds]
trcc has quit [Ping timeout: 268 seconds]
philr has joined #nix-darwin
philr has quit [Read error: Connection reset by peer]
philr has joined #nix-darwin
philr has quit [Ping timeout: 268 seconds]
nD5Xjz has joined #nix-darwin
dmj` has joined #nix-darwin
<dmj`> does patchelf use /usr/bin/install_name_tool on Darwin?
<dmj`> I am building a haskell project and would like to link with a dylib
<dmj`> otool -L shows it is not located in the nix store (despite being built with nix)
<dmj`> I have a cabal file with extra-libraries: libraryname
<matthewbauer[m]> dmj`: no it only works on elfs
<matthewbauer[m]> but we do provide install_name_tool for darwin
<dmj`> matthewbauer[m]: do you provide swift and objective-c compilers as well
<dmj`> matthewbauer[m]: also, did you implement the crossPkgs infra in nixpkgs? If so, great work.
<matthewbauer[m]> I think objc works in stdenv
<matthewbauer[m]> but swift is still a work in progress
<dmj`> matthewbauer[m]: the package swift isn't supported on darwin apparently
<dmj`> which seems odd
<matthewbauer[m]> yeah it's kind of annoying right now
<dmj`> that might be the culprit
<LnL> yeah, I looked at it at some point
<LnL> but it didn't seem that straightforward to fix the build
<dmj`> right now I invoke swiftc manually using /usr/bin/swiftc, but feels dirty inside of nix
<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
<dmj`> so I have to install_name_tool
<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
<dmj`> on Darwin
<matthewbauer[m]> you need to set the install name identifier for the 3rd party
<matthewbauer[m]> install_name_tool -id
<dmj`> matthewbauer[m]: that worked, LnL showed me the light
<dmj`> matthewbauer[m]: so I noticed there's this
<dmj`> pkgsCross.iphone64-simulator.haskell.packages.ghc863.aeson
<dmj`> inside nixpkgs
<dmj`> was wondering, how can I get my haskell package to run on the ios-simulator
<matthewbauer[m]> the binary should just run, but you probably need to wrap it in an app
<matthewbauer[m]> and do ```simctl install booted /path/to/Your.app```
<matthewbauer[m]> we should get some helpers to do this, but the directory basically looks like:
philr has joined #nix-darwin
<johnw> LnL: appears you're the maintainer for nixos/tests/docker-tools.nix?
<LnL> I am? guess it was empty when I edited it :)
<johnw> haha, you're listed as the only maintainer
<LnL> yeah, if I notice something without a maintainer I sometimes add myself
<LnL> what about it?
<johnw> just wondering if it could possibly work outside the context of NixOS
<johnw> I have some docker tests I want to run, on any system that supports dockerTools
<LnL> ah no, nixos need a linux system for the vms
<LnL> nixos tests*
<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
henrytill has joined #nix-darwin
nD5Xjz has quit [Remote host closed the connection]
nD5Xjz has joined #nix-darwin
henrytill has quit [Quit: ZNC 1.6.5 - http://znc.in]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has quit [Quit: jtojnar]