Update the nixpkgs pin so the flake evaluates again - #19
Merged
Conversation
The lock pointed at nixpkgs from 2024-04-07, which predates tpm2-openssl. Every step-agent derivation from 0.69.0 on requires it, and flake.nix builds the packages output by filtering the whole version set, so one unevaluable file broke nix build/run/flake show for every attribute when the repo's own lock was used. Customers following the README were unaffected because inputs.nixpkgs.follows overrides the lock. CI never caught this: build.yml evaluates against live channel tarballs via NIX_PATH, not the flake lock.
dopey
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nix build github:smallstep/nur#<anything>— along withnix run,nix profile install, andnix flake show— currently fails withFunction called without required argument "tpm2-openssl". The lock pins nixpkgs from 2024-04-07, which predates tpm2-openssl; every step-agent derivation from 0.69.0 on requires it, and becauseflake.nixbuilds thepackagesoutput by filtering the entire version set, one unevaluable file poisons every attribute. Customers following the README never noticed becauseinputs.nixpkgs.followsoverrides the lock, and CI never caught it becausebuild.ymlevaluates against live channel tarballs viaNIX_PATH, not the flake lock — worth a follow-up check that evals the flake against its own lock.Verified on aarch64-linux with the updated lock:
nix flake showevaluates the full package set,nix build .#step-agent_0_69_0-rc3builds and the binary reportsstep-agent/0.69.0-rc3, and the barestep-agentattribute still resolves to the newest stable (0.69.0).