It appears the pinned attrset is a bit adhoc. This generalizes pinned.nix so that you can do: $ nix build -f . pinned.stable.hwi $ nix build -f . pinned.unstable.hwi etc Signed-off-by: William Casarin <jb55@jb55.com>