Hydra not building consul for 25.11?

Hello all,

It looks like consul isn’t published in 25.11?

`
work=$(mktemp -d) && curl -fsSL https://channels.nixos.org/nixos-25.11/nixexprs.tar.xz | tar -xJ -C “$work” && w=$(echo “$work”/*) && h=$(basename “$(nix-store -q --outputs “$(NIXPKGS_ALLOW_UNFREE=1 nix-instantiate -I nixpkgs=”$w” -A consul “$w” 2>/dev/null)“)” | cut -d- -f1) && curl -fsS “https://cache.nixos.org/$h.narinfo” >/dev/null && echo “25.11: consul IS published ($h)” || echo “25.11: consul is NOT published”
curl: (22) The requested URL returned error: 404
25.11: consul is NOT published
`

Whereas I do see it as having been published for 25.05

work=$(mktemp -d) && curl -fsSL ``https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz`` | tar -xJ -C “$work” && w=$(echo “$work”/*) && h=$(basename “$(nix-store -q --outputs “$(NIXPKGS_ALLOW_UNFREE=1 nix-instantiate -I nixpkgs=”$w” -A consul “$w” 2>/dev/null)“)” | cut -d- -f1) && curl -fsS “``https://cache.nixos.org/$h.narinfo”`` >/dev/null && echo “25.05: consul IS published ($h)” || echo “25.05: consul is NOT published”
25.05: consul IS published (5nid6rz8jmplc23s2rkvz1jph1ghjyds)
`

Is there something that changed between the two releases?

EDIT: I did see this: https://nixos.wiki/wiki/Unfree_Software, I just wasn’t sure if there was something that started being enforced in 25.11 as opposed to what was going on in 25.05.

No, unfree packages were never (intended to be) built on Hydra.nixos.org.

Maybe what you got was coming from

(I haven’t looked into this really.)

The unintentional building of consul was likely fixed here treewide: remove in-tree usages of nixpkgs.config.allowUnfree by leona-ya · Pull Request #460384 · NixOS/nixpkgs · GitHub

Background for not building unfree is legal concerns, as it’s likely that nixos is not allowed to redistribute binaries (without digging into each specific)

1 Like

I believe that originally the main motivation wasn’t legal, but… I suppose the ancient history doesn’t really matter here and it might be re-decided independently of that (by the steering committee probably), e.g. for unfreeRedistributable or some particular cases.