Skip to content

Commit

Permalink
nsncd: unstable-2022-11-14 -> unstable-2023-10-26
Browse files Browse the repository at this point in the history
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
nix-community/nsncd#9 and
nix-community/nsncd#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: NixOS#132646
Fixes: NixOS#261269
  • Loading branch information
picnoir committed Oct 26, 2023
1 parent 594642a commit 364a389
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/os-specific/linux/nsncd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@

rustPlatform.buildRustPackage rec {
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 {
owner = "nix-community";
repo = "nsncd";
rev = "47e580f1db99603df6e212a2e62f18cc970cef40";
hash = "sha256-Nv3MYZcuYgD66BAGs3Tg37s086HAGsaDBFvELqQF3Tk=";
rev = "d6513421f420e407248c6d0aee39ae2f861a7cec";
hash = "sha256-PykzwpPxMDHJOr2HubXuw+Krk9Jbi0E3M2lEAOXhx2M=";
};

cargoSha256 = "sha256-c1L6nEUBHw1YegmoRrI3WU/bF80Nzbz13hsGlNyBR9o=";
cargoSha256 = "sha256-cUM7rYXWpJ0aMiurXBp15IlxAmf/x5uiodxEqBPCQT0=";

meta = with lib; {
description = "the name service non-caching daemon";
Expand Down

0 comments on commit 364a389

Please sign in to comment.