Skip to content

fix!: remove legacy nix run code path causing stderr noise - #371

Merged
workflow merged 1 commit into
mainfrom
fix-legacy-nix-run
Mar 14, 2026
Merged

fix!: remove legacy nix run code path causing stderr noise#371
workflow merged 1 commit into
mainfrom
fix-legacy-nix-run

Conversation

@workflow

Copy link
Copy Markdown
Owner

Summary

  • Remove the pre-2.4 nix run nixpkgs.X fallback and version-checking shell functions (verlte/verlt) from the wrapper script
  • Only the modern nix shell nixpkgs#X path remains, which works with nix 2.4+
  • Replace the test-legacy-nix CI job (which installed modern nix and never actually tested the legacy path) with test-no-stderr-noise that asserts the wrapper doesn't contain the legacy nix run nixpkgs. pattern

BREAKING CHANGE: Nix >= 2.4 is now required (released Dec 2021).

Fixes #365

BREAKING CHANGE: Nix >= 2.4 is now required. The pre-2.4 `nix run
nixpkgs.X` fallback and version-checking shell functions (verlte/verlt)
are removed. Only the modern `nix shell nixpkgs#X` path remains.

Replace the untestable test-legacy-nix CI job with test-no-stderr-noise
that asserts the wrapper has no legacy pattern.

Fixes #365
@workflow
workflow merged commit 031bcb0 into main Mar 14, 2026
13 checks passed
@workflow
workflow deleted the fix-legacy-nix-run branch March 14, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unrecognised flag '-c'

1 participant