<>
changed the topic of #nixos-dev to: Topic set by fpletz!~fpletz@unaffiliated/fpletz on 2017-08-28 21:18:18 UTC
<>
changed the topic of #nixos-dev to: Channel #nixos-dev created on 2017-08-02 14:29:18 UTC
<globin>
niksnut: your urllib3 split just put nix-support into the dev output killing all propagatedBuildInputs which broke the python path for everything using it
phreedom has quit [(Ping timeout: 246 seconds)]
mguex_ is now known as mguex
phreedom has joined joined #nixos-dev
<copumpkin>
yeah, the whole nix-support thing is kinda odd with multiple outputs
<niksnut>
iirc, the .dev outputs of a buildInput will be included automatically
<copumpkin>
niksnut: seeing "error: cannot add '/nix/store/lcimg5dqxgax1vfawjn67dpy0h9nan12-wrapped-buildbot-0.9.11' to the binary cache because the reference '/nix/store/02wvl8xc26w6hwj1201smqyxpcg83361-python2.7-packaging-16.8' is not valid" from `nix copy`, any idea why?
<copumpkin>
invocation is roughly `nix copy --to ... $(nix-build -A foo bar baz)`
<globin>
niksnut: is hydra dead?
<niksnut>
doesn't look like it...
<niksnut>
copumpkin: try nix copy -r
<copumpkin>
yeah trying that now, realized it's probably what I want
<copumpkin>
what's the use case for a non-recursive nix copy?
<niksnut>
can't think of any
<copumpkin>
maybe if you already have some sort of closure dump from exportReferencesGraph
<copumpkin>
and you don't want it to do extra work copying recursively each time
* copumpkin
shrugs
<niksnut>
yes, the copy at the end of a remote build only copies the output paths
pxc1 has joined joined #nixos-dev
<copumpkin>
niksnut: thinking more about that retry flag, I'm wondering if it wouldn't make more sense for me to just have a "retry-on-all-download-errors" catch-all rather than trying to play whac-a-mole with individual error codes. From what I've been able to gather from the AWS SDK, that's pretty much all they do
<copumpkin>
so for those of us hitting flaky S3 HTTP endpoints, we'd just enable that option
<copumpkin>
whereas everyone else retains the more precise retry conditions
<copumpkin>
niksnut: any reason you distinguish between Forbidden/Transient/Misc? does something outside of the downloader track those?
<niksnut>
HttpBinaryCacheStore uses Forbidden (to handle 403s from S3)
<copumpkin>
oh I see
phreedom has quit [(Ping timeout: 248 seconds)]
pxc1 has joined joined #nixos-dev
<domenkozar>
niksnut: do you happen to build nixops deployments on hydra?
<gchristensen>
oh cool
pxc1 has quit [(Read error: Connection reset by peer)]
pxc1 has joined joined #nixos-dev
taktoa has quit [(Remote host closed the connection)]
<globin>
Dezgeg: https://github.com/NixOS/nixpkgs/pull/29827 should this be merged and go in 17.09? does this fix anything or would it just be an improvement in consistency?
<globin>
niksnut: your postgres changes break pg_config completely for 9.6
<Mic92>
ah that was the same commit from the systemd news file
<Mic92>
there multiple instances, where we had to s/postgres/postgres.dev/
<globin>
niksnut: multiple paths are wrong
<globin>
Mic92: no not that
<globin>
Mic92: the paths reported by pg_config are wrong
<globin>
niksnut: for older postgres, too: e.g. BINDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/bin
<globin>
niksnut: we cannot use multiple outputs there without patching pg_config completely
<globin>
niksnut: their code there is broken for our case
<fpletz>
that change should be reverted everywhere IMHO
<globin>
niksnut: I'm reverting this for now this needs far more work than simply splitting this
<niksnut>
postgres works for me
<globin>
everything using pg_config breaks with this
<globin>
that means extensions and other stuff depending on postgresql
<fpletz>
also postgresql96 has a dependency cycle and is not building currently (there are references to PGXS in the dev output in some postgresql binaries)
JosW has quit [(Quit: Konversation terminated!)]
<Mic92>
globin: are also going to revert all patches, we applied to fix the new location pg_config or does this still work?
<globin>
Mic92: I have done this, it's all squashed into one large revert
<Mic92>
globin: ah ok. I did not look at the actual revert
<globin>
Mic92: the commit message contains a longer explanation of the issue including example outputs of pg_config
phreedom has joined joined #nixos-dev
<globin>
Mic92: wrt to GDM/systemd-logind could you commit your patch and backport it to 17.09?
Jackneill has quit [(Ping timeout: 252 seconds)]
aminechikhaoui has quit [(Ping timeout: 255 seconds)]
aminechikhaoui has joined joined #nixos-dev
aminechikhaoui has quit [(Ping timeout: 240 seconds)]