The stable branch seems to have upgraded curl to 7.62. This includes a known breaking change with sssd, where the fix isn't yet included in any 1.16.* release AFAICT.
nix-channel --update && nix-env -i sssd
"x86_64-linux"Linux 4.15.0-39-generic, Ubuntu, 18.04.1 LTS (Bionic Beaver)nononix-env (Nix) 2.1.3"nixos-18.09.1420.5d4a1a3897e, nixpkgs-19.03pre160446.206a1c00bae"/afs/info.uni-karlsruhe.de/user/sgraf/.nix-defexpr/channels/nixpkgsThanks.
Any estimate on when this hits release-18.09?
@sgraf812: it is in all 18.09 channels; you may see the tag info: https://github.com/NixOS/nixpkgs-channels/commit/56aac496ffd2d37639a3ebb0dbcfc0e3a25cb1ef
Then I'm at a loss as to why my home-manager config doesn't seem to pick up the patch... I nix-channel --updated multiple times since the last week. Argh. Well, thank you.
I did some digging. Apparently, the derivation for the patch is built, but the resulting duplicate-case-value.diff in the store is empty. I see that fetchpatch should error out on empty patch files, which makes this even more surprising.
That's not the main point. If the file is empty, its hash surely doesn't match.
I don't know why, but although the derivation for duplicate-case-values.diff was 'compiled', it didn't actually build the derivation. Doing so manually with nix-store -r /nix/store/<hash>-duplicate-case-value.diff.drv does write the otherwise non-existent (not empty, that was an oversight) diff file.
But even when I restart the build for sssd, it doesn't seem to apply the patch. Here's the .drv for sssd, it doesn't even mention 'patch' or 'diff': https://pastebin.com/wn9YrpR0.
Well, I don't know why, but the issue went away and I could build my home-manager generation just fine. This probably was some local wibble.
Most helpful comment
Thanks.