We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetchTarball
channel:
Describe the bug
The fetchTarball builtin (and possibly others?) does not accept a channel: URL anymore, quoted or not.
Steps To Reproduce
$ nix run github:NixOS/nix/2.13.0 -- eval --impure --expr "fetchTarball \"channel:nixos-22.11\"" error: … while calling the 'fetchTarball' builtin at «string»:1:1: 1| fetchTarball "channel:nixos-22.11" | ^ error: unable to download 'channel:nixos-22.11': URL using bad/illegal format or missing URL (3) $ nix run github:NixOS/nix/2.12.0 -- eval --impure --expr "fetchTarball \"channel:nixos-22.11\"" "/nix/store/i63d7z75f27p6388hzksamvir7zv7rbl-source" $ nix run github:NixOS/nix/2.13.0 -- eval --impure --expr "fetchTarball channel:nixos-22.11" error: … while calling the 'fetchTarball' builtin at «string»:1:1: 1| fetchTarball channel:nixos-22.11 | ^ error: unable to download 'channel:nixos-22.11': URL using bad/illegal format or missing URL (3) $ nix run github:NixOS/nix/2.12.0 -- eval --impure --expr "fetchTarball channel:nixos-22.11" "/nix/store/i63d7z75f27p6388hzksamvir7zv7rbl-source"
Expected behavior
There should be no regression.
nix-env --version output
nix-env --version
nix-env (Nix) 2.13.0
Additional context
I should probably update this code to --override-input, but I thought I should still flag the issue.
--override-input
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered:
Restore support for channel: URLs in fetchTarball
01f2683
Fixes NixOS#7625.
fda0d52
Fixes #7625. (cherry picked from commit 01f2683)
ba5f6c2
Successfully merging a pull request may close this issue.
Describe the bug
The
fetchTarball
builtin (and possibly others?) does not accept achannel:
URL anymore, quoted or not.Steps To Reproduce
Expected behavior
There should be no regression.
nix-env --version
outputAdditional context
I should probably update this code to
--override-input
, but I thought I should still flag the issue.Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: