nsncd: unstable-2022-11-14 -> unstable-2023-10-26

Note: we decided to rewrite the history of the fork who somehow got
out of hand. Feature-wise, this version bump fixes the various host
faulty behaviour. See the
https://github.com/nix-community/nsncd/pull/9 and
https://github.com/nix-community/nsncd/pull/10 PRs for more details.

We're in the process of upstreaming this change to twosigma/nsncd,
however, upstream has been pretty slow to review our PRs so far. Since
the hostname bug surfaces quite regularly in the Nixpkgs issue
tracker, we decided to use the nix-community fork as canon for Nixpkgs
for now.

Fixes: https://github.com/NixOS/nixpkgs/issues/132646
Fixes: https://github.com/NixOS/nixpkgs/issues/261269
This commit is contained in:
Félix Baylac Jacqué 2023-10-26 13:20:53 +02:00
parent 594642a32e
commit 364a38956d

View file

@ -7,16 +7,19 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nsncd"; pname = "nsncd";
version = "unstable-2022-11-14"; version = "unstable-2023-10-26";
# https://github.com/twosigma/nsncd/pull/71 has not been upstreamed
# to twosigma/nsncd yet. Using the nix-community fork in the
# meantime.
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nix-community"; owner = "nix-community";
repo = "nsncd"; repo = "nsncd";
rev = "47e580f1db99603df6e212a2e62f18cc970cef40"; rev = "d6513421f420e407248c6d0aee39ae2f861a7cec";
hash = "sha256-Nv3MYZcuYgD66BAGs3Tg37s086HAGsaDBFvELqQF3Tk="; hash = "sha256-PykzwpPxMDHJOr2HubXuw+Krk9Jbi0E3M2lEAOXhx2M=";
}; };
cargoSha256 = "sha256-c1L6nEUBHw1YegmoRrI3WU/bF80Nzbz13hsGlNyBR9o="; cargoSha256 = "sha256-cUM7rYXWpJ0aMiurXBp15IlxAmf/x5uiodxEqBPCQT0=";
meta = with lib; { meta = with lib; {
description = "the name service non-caching daemon"; description = "the name service non-caching daemon";