johnw_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
copumpkin has quit [Ping timeout: 272 seconds]
copumpkin has joined #nix-darwin
hamishmack has quit [Ping timeout: 272 seconds]
hamishmack has joined #nix-darwin
philr has quit [Quit: WeeChat 2.2]
<Enzime> LnL: for new modules to nix-darwin
<Enzime> should we be creating .nix files inside modules/services
<Enzime> or create a new folder with a default.nix inside?
<LnL> default.nix is a bit nicer, then you don't have to rename stuff if you need an extra file in the future
<LnL> good morning btw :)
<Enzime> LnL: it's 5:45pm here ;p
<Enzime> but mornin'
<Enzime> LnL: the fact that the configuration system is currently broken up into options (specification) and config (implementation)
<Enzime> it'd be pretty cool if we could take the options from nixpkgs
<Enzime> and write a Darwin specific implementation
<LnL> that's not really possible with the current module system
<LnL> and I'm scared of accidentally pulling in an implementation of something that does dangerous things for a non nixos system
<Enzime> yeah fair
<LnL> but yeah, copy pasting modules isn't great either :/
<Enzime> remote: Resolving deltas: 100% (131/131), completed with 28 local objects.
<Enzime> remote:
<Enzime> remote: Create a pull request for 'add/synergy-service' on GitHub by visiting:
<Enzime> remote:
<Enzime> ^ oh nice, GH started copying BitBucket
<Enzime> I actually really liked that feature
<LnL> neat
<LnL> I'll have a proper look after work, but looks good at first glance
<LnL> could you include a basic test like this? just to make sure it doesn't break in trivial ways https://github.com/LnL7/nix-darwin/blob/master/tests/services-skhd.nix
<Enzime> is TravisCI on nix-darwin working?
<Enzime> appears to have broken (unrelated to my PR?)
<LnL> error: unsupported builtin function 'buildenv'
<LnL> that's a 2.1 client talking to a 2.0 daemon
<LnL> new and unrelated, no need to worry about that
<Enzime> 👍
copumpkin has quit [Ping timeout: 244 seconds]
copumpkin has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 244 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carlosdagos has quit [Quit: Connection closed for inactivity]
hamishmack has joined #nix-darwin
nD5Xjz has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 272 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nix-darwin
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz has joined #nix-darwin
<Enzime> LnL: is exposing service.<service>.package necessary?
<Enzime> also because the synergy service is separated into two parts service.synergy.client and service.synergy.server, if I expose .package should I be exposing it on service.synergy or on each service.synergy.client and service.synergy.server
<Enzime> also if I don't expose .package, does it make a difference to tests? (is the issue that the test will actually build synergy?)
nD5Xjz has quit [Ping timeout: 252 seconds]
<LnL> a package option is useful if you want to override something or use a different version
<LnL> it's also possible with overlays, but that's not as nice or flexible
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nix-darwin
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 240 seconds]
jtojnar has quit [Remote host closed the connection]
nD5Xjz has joined #nix-darwin
jtojnar has joined #nix-darwin
copumpkin has quit [Quit: Textual IRC Client: www.textualapp.com]
copumpkin has joined #nix-darwin
copumpkin has quit [Client Quit]
<cransom> <- a big fan of exposing a package option for services, but no, not a requirement.
nD5Xjz has quit [Ping timeout: 264 seconds]
copumpkin has joined #nix-darwin
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 244 seconds]
Ericson2314 has joined #nix-darwin
disasm_ has joined #nix-darwin
<Ericson2314> LnL: really close with darwin -> linux?
<Ericson2314> I just need elf.h on darwin
<Ericson2314> for paxctl and patchelf
<LnL> oh? :)
<Ericson2314> if you google "elf.h on darwin" this is something jammed in dtrace and also some gist
<Ericson2314> i just want to not to anything too weird
<Ericson2314> though *just* solving the problem, provenance of header be damend, is not too hard
disasm has quit [Ping timeout: 246 seconds]
<LnL> yeah, there's a sys/elf.h in dtrace
<LnL> the headers are just not copied over
nD5Xjz has joined #nix-darwin
<Ericson2314> LnL: as that exposed anywhere in nixpkgs?
<Ericson2314> *is that?
<Ericson2314> or maybe not even installed on osx let alone put in nixpkgs, you mean, hmm
<LnL> we have darwin.dtrace, but it currently only includes some binaries
<Ericson2314> ok cool
<LnL> the headers are in the sources tho
<Ericson2314> LnL: on second thought those look a bit different but I'll pull out elf.h
<Ericson2314> out of glibc
philr has joined #nix-darwin
<copumpkin> you talking about cross-compilation?
matthewbauer has joined #nix-darwin
<nikivi> say I have a binary I want to run on my system that is not built with nix
<nikivi> where would you put it?
<nikivi> I mean that is in my PATH
<copumpkin> LnL: your eval looks pretty promising. Not quite done yet
<copumpkin> are those 10.12 boxes? 10.13?
<LnL> 10.12 and llvm got stuck last night so I had to cancel/restart some stuff :/
<copumpkin> stuck for a concerning reason or stuck for random reason?
<LnL> I think I've had this before
philr has quit [Ping timeout: 252 seconds]
matthewbauer has quit [Ping timeout: 264 seconds]
matthewbauer has joined #nix-darwin
<copumpkin> omg it's matthewbauer
matthewbauer has quit [Ping timeout: 240 seconds]
matthewbauer has joined #nix-darwin
matthewbauer has quit [Ping timeout: 252 seconds]
<LnL> uh oh, "Duration: 12h 37m 47s"
* LnL kills build
matthewbauer has joined #nix-darwin
<copumpkin> :O
matthewbauer has quit [Ping timeout: 264 seconds]
<LnL> yeah nope, next build failure
matthewbauer has joined #nix-darwin
<copumpkin> so the branch is b0rked?
<LnL> oh no, this is for zhf
<copumpkin> oh ok
<LnL> this one does look a bit weird tho Fatal Python error: PyThreadState_Get: no current thread
<copumpkin> where you seeing that?
<copumpkin> thanks
<LnL> that and libsecurity are the only actual errors so far
<copumpkin> that does look like a legit failure, thanks :) repro'd locally
<copumpkin> will take a look a bit later
<LnL> ah you can reproduce it?
<copumpkin> yup
<matthewbauer> The API_AVAILABLE preproc seems to be missing too in the swift-corefoundation branch. xnu has that under Availability.h IIRC
<copumpkin> oh yeah, thanks
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<copumpkin> what package breaks because of that? so I can test easily
hamishmack has joined #nix-darwin
hamishmack has quit [Client Quit]
<LnL> darwin.libsecurity_utilities
<matthewbauer> darwin.libsecurity_utilities
<copumpkin> cool thanks :)
<copumpkin> will try to fix
<copumpkin> matthewbauer: not sure if you saw, but I also have LTO working
<copumpkin> so will likely get this in, then the LTO stuff in, then update bootstrap tools
<matthewbauer> yeah very exciting!
<copumpkin> basically have a bit more time and a bit more motivation again :)
<matthewbauer> on gnome-doc-utils: i would try doing patchShebangs on xml2po. it may be trying to use the system python through /usr/bin/python
<copumpkin> what were the major differences between the new libdispatch and the other one?
<copumpkin> oh okay
<copumpkin> looks like there's already a substituteInPlace attempting that
<copumpkin> perhaps not enough
<copumpkin> yeah you're right
<copumpkin> oh it did get patched already though
matthewbauer has quit [Ping timeout: 240 seconds]
<copumpkin> so xml2po is failing to import libxml2 properly
<copumpkin> anyway, will take a deeper look later
<copumpkin> libxml2Python = pkgs.buildEnv { # slightly hacky
<copumpkin> just a tad :P
<copumpkin> not under pythonPackages, all sorts of hackery
hamishmack has joined #nix-darwin
clever has quit [Ping timeout: 268 seconds]
johnw_ has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nix-darwin