gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.03 release managers: fpletz and vcunat | https://logs.nix.samueldr.com/nixos-dev
Lisanna has joined #nixos-dev
orivej has joined #nixos-dev
sir_guy_carleton has joined #nixos-dev
erickomoto has joined #nixos-dev
pie_ has quit [Quit: Leaving]
pie_ has joined #nixos-dev
pie_ has quit [Remote host closed the connection]
pie__ has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 240 seconds]
lopsided98 has quit [Ping timeout: 240 seconds]
Sonarpulse has joined #nixos-dev
lopsided98 has joined #nixos-dev
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nixos-dev
<Sonarpulse> gchristensen: hi
<Sonarpulse> if this is ofborg related, there is a bunch of stuff I've been meaning to spread the word on / build concensus on the way before
<Enzime> LnL: is it a bad idea to add `darwin.apple_sdk.sdk` as a buildInput?
orivej has quit [Ping timeout: 240 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
drakonis has joined #nixos-dev
clever_ has joined #nixos-dev
clever has quit [Ping timeout: 240 seconds]
clever_ is now known as clever
clever has quit [Changing host]
clever has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nixos-dev
<LnL> Enzime: yes, ideally that wouldn't even be exposed
joepie91 has quit [Remote host closed the connection]
joepie91___ has joined #nixos-dev
joepie91___ is now known as joepie91
orivej has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 244 seconds]
FRidh has joined #nixos-dev
vcunat has joined #nixos-dev
<domenkozar> Sonarpulse: strictDeps are still very broken
<domenkozar> what about we just add hspec-discover if hspec is in test dependencies?
<domenkozar> I know it's polluting stuff, but as a stepping stone until upstream does the right thing
ixxie has joined #nixos-dev
<gchristensen> Sonarpulse: it isn't ofborg related
<gchristensen> Sonarpulse: I'm frustrated, though, by the deletion of useful stuff without any documented path forward
<domenkozar> I'm also frustrated that haskell packages on macos are broken for a month and the path foward is still a mess
<domenkozar> very inclinded to find what broke this and just revert
<gchristensen> yeah, that has been a huge problem for a lot of people
<gchristensen> and has turned away at least a half dozen people I know about from Nix
<domenkozar> I still think macos is a supported target compared to cross compilation
<domenkozar> it should have priority
<domenkozar> gchristensen: what's the status with extra macos builders?
<domenkozar> I think we should be testing haskell nixpkgs bumps on macos, but that does add load
<gchristensen> they're loaded :(
<gchristensen> we have 9, 8/9 are working
<gchristensen> (though I don't use forceSystem for cross)
<domenkozar> hmm
<clever> domenkozar: i have been thinking that cross-compiling cardano from linux to darwin would let us side-step the bottleneck of mac build slaves, and use AWS to scale up
<domenkozar> yeah but that doesn't scale for nixpkgs
ixxie has quit [Ping timeout: 244 seconds]
<LnL> domenkozar: I kind of agree, strictDeps seems like a workaround for the duplicate flags. Can't imagine a valid reason to repeat flags 9 times
<gchristensen> yikes, seems ... like it should be easy to dedupe flags?
<LnL> there are reasons to include stuff twice when cross compiling IIRC
<LnL> but this explosion doesn't seem reasonable
<gchristensen> +1
<gchristensen> I would be pro-revert until it is fixed for mac
<domenkozar> ok so between nixos-16.03 and nixos-16.09 the flags got duplicated
<domenkozar> I feel like this is going to be a long day
<gchristensen> domenkozar: tell zimbatm to buy you like 3-4 beers on my behalf
<LnL> passing the arguments by file is another option, but unless there's a reason we actually need those flags it's also kind of a workaround IMHO since that won't help for any compiler that can't handle those
<gchristensen> zimbatm: I'll get you back later :)
<domenkozar> he drank all my beer yesterday
<domenkozar> :P
<LnL> heh
<gchristensen> :o
<domenkozar> well technicallyy alcohol free is still there
<domenkozar> LnL: in either case we shouldn't be passing more than one
<domenkozar> and 9 seems like the time to clean up :D
<LnL> like I said before, I think twice is valid for cross but the rest shouldn't be there
<domenkozar> :)
<vcunat> domenkozar: (extra macos builders) I have one machine here which is meant as Hydra slave, but I haven't set it up yet. (And I've never used a mac, so I probably can't do it myself easily.)
<gchristensen> we should chat, vcunat
<gchristensen> we can set up remote administration and get it going
<gchristensen> what are the specs?
<vcunat> OK, let me see.
<vcunat> It's a mac-mini, some core2duo, 4GiB RAM ATM (but I might increase that), rotating drive.
<vcunat> (so relatively old machine)
<gchristensen> ok
* domenkozar looks to Sonarpulse :P
<vcunat> I can certainly swap the drive to a 7k2rpm one, and probably increase RAM if it seems important.
<vcunat> (I'd think 2GiB / thread to be OK.)
<gchristensen> its probably ok
<LnL> are there non old mac-mini's I don't know about? :p
<gchristensen> haha yeah it is amazing how they're pretty ancient machines at this point
vcunat has quit [Ping timeout: 240 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-dev
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-dev
{^_^} has quit [Changing host]
{^_^} has joined #nixos-dev
<Enzime> LnL: `nix-shell --pure --run "echo '#import <AppKit/AppKit.h>' | cc -x objective-c-header -" -p stdenv.cc darwin.apple_sdk.frameworks.AppKit` currently fails
<Enzime> is this due to the impure Darwin stdenv?
<Enzime> or is the CoreFoundation issues unrelated to that
<gchristensen> why does the impure stdenv cause that?
<gchristensen> why would*
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
<Enzime> are you doing nix-shell or nix-build on that?
pie__ has quit [Ping timeout: 260 seconds]
<Enzime> LnL: ^
<LnL> yes but it finds IOKit, or is this the problem you had before?
<Enzime> LnL: yeah same problem as before
<Enzime> is the issue that CoreFoundation 10.10 doesn't have CFAttributedString.h?
<LnL> yes, darwin.CF is built from source but apple has not released the sources of that since 10.10 :/
<Enzime> says it's in macOS 10.4+
<LnL> don't see it anywhere in the sources
<LnL> maybe #nix-darwin is more appropriate for these kind of discussions
<Enzime> there's a #nix-darwin? :o
<infinisil> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<LnL> there are many nix channels :)
pie__ has joined #nixos-dev
sir_guy_carleton has joined #nixos-dev
ixxie has joined #nixos-dev
vcunat has joined #nixos-dev
obadz has quit [Ping timeout: 244 seconds]
obadz has joined #nixos-dev
<manveru> btw, is the macos installer now defaulting to --no-daemon?
<manveru> otherwise i'd make a PR for that...
<LnL> don't think so
<manveru> ok, because the curl way doesn't allow for flags easily
<manveru> might be nicer to do some gets to ask?
<manveru> niksnut: you think that makes sense?
<LnL> curl https://nixos.org/nix/install | sh -s -- --no-deamon
<manveru> hmm
<manveru> ah :)
<manveru> i shall use that then
<samueldr> manveru: make noise here ♥ → https://github.com/NixOS/nix/pull/2269
<{^_^}> nix#2269 (by samueldr, open): Manual: Updates install notes for one-liner
<LnL> ^^ was just going to say that :)
<vcunat> Have I lost some context about the mac-minis in the past three hours? (I was disconnected)
<LnL> don't think so, talk to gchristensen
<LnL> and me joking about old hardware
<vcunat> I tried, he's apparently AFK now. (I don't hurry and will be there for a few more hours, so it's OK.)
<vcunat> I installed the OS at least.
ixxie has quit [Ping timeout: 240 seconds]
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #nixos-dev
ixxie has joined #nixos-dev
erickomoto has joined #nixos-dev
Mic92 has joined #nixos-dev
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nixos-dev
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
genesis has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
ixxie has quit [Ping timeout: 260 seconds]
vcunat1 has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
vcunat has quit [Ping timeout: 256 seconds]
vcunat1 is now known as vcunat
vcunat has quit [Quit: Leaving.]
vcunat has joined #nixos-dev
erickomoto has joined #nixos-dev
sir_guy_carleton has joined #nixos-dev
jtojnar has quit [Read error: Connection reset by peer]
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erickomoto has joined #nixos-dev
orivej has joined #nixos-dev
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos-dev
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
jtojnar has joined #nixos-dev
<Sonarpulse> domenkozar:
<Sonarpulse> h
<Sonarpulse> *hi
<infinisil> ,tell
<{^_^}> infinisil: Use `,tell john Remember to do the laundry` to send this to john next time he's talking in this channel
<infinisil> vcunat: New and shiny ^^
<infinisil> :P
<domenkozar> Sonarpulse: I was reading the state machine of stdenv today
<domenkozar> oh my :D
<Sonarpulse> domenkozar: hehe findInputs and env hook stuff?
<domenkozar> my understanding is that the problem is that setup-hooks now get called multiple times
<domenkozar> and that causes ldflags to double/triple
<Sonarpulse> domenkozar: its both that and the env hooks
<Sonarpulse> without strictDeps, the env hooks are called more than they should be
<domenkozar> but most of flags the the issue of setup hooks
<vcunat> infinisil :-)
<vcunat> some day the IRC channel might be as shiny as the modern ways
<Sonarpulse> like combinations that don't follow from the rules
<domenkozar> but fixing setup hooks will have bigger impact I think
<Sonarpulse> domenkozar: the problem really is no strict deps
<Sonarpulse> with strict deps
<Sonarpulse> yes setup hooks are called multiple times
<Sonarpulse> (with different parameters)
<Sonarpulse> well, "parameters" cause its just global scope
<Sonarpulse> but then the env hooks that are created apply to disjoint dependencies
<Sonarpulse> I believe the only reason in your experiment there are duplicate flags with my PR is
<Sonarpulse> 1) angerman's thing, which fixes an orthogonal problem of Nix and GHC making flags, and 2) the packages that come from the GHC derivation
<domenkozar> but setup-hooks don't go through runHook, they get executed right away
<domenkozar> in _activatePkgs
<infinisil> vcunat: Honestly ,tell sounds pretty unnecessary, I only implemented it because somebody asked for it
<domenkozar> which calls activatePackage
<Sonarpulse> domenkozar: err did I say it did? I didn't think so?
<Sonarpulse> also my bad for not writing up the things I said more extensively first
erickomoto has quit [Ping timeout: 265 seconds]
<domenkozar> Sonarpulse: oh I see you only changed it to strictDeps now
<domenkozar> what's really not clear to me how this all ends up breaking testToolDepends
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos-dev
vcunat has quit [Quit: Leaving.]
<Sonarpulse> domenkozar: testToolDepends didn't break
<Sonarpulse> domenkozar: strictDeps also prevents runtime deps from influencing the PATH
<Sonarpulse> (important for intent and so non-runnable stuff doesn't pollute cross path)
<domenkozar> right
<domenkozar> I think step one should be fixing too many setup-hooks invocation
<domenkozar> or make them idempotent
orivej has quit [Ping timeout: 244 seconds]
<Sonarpulse> domenkozar: I suppose I could spit strictDeps into strictEnvHooks and strictPath
<Sonarpulse> and then just do blanket strictEnvHooks