tuna / issues

Code Unrelated Issues
351 stars 28 forks source link

Nix channel 使用固定的 commit 场景 @ 字符串导致报错,希望提供一个 302 #1976

Closed rectcircle closed 4 weeks ago

rectcircle commented 1 month ago
nix-channel --add https://mirrors.tuna.tsinghua.edu.cn/nix-channels/releases/nixos-24.05@nixos-24.05.675.805a384895c6 nixpkgs_24_05
nix-channel --update    

报错

error: store path 'gr8119vlig821i7hblsdx3kv7dbkzry5-nixos-24.05@nixos-24.05.675.805a384895c6' contains illegal character '@'
taoky commented 1 month ago

https://en.wikipedia.org/wiki/Percent-encoding

使用 %40 代替应该就行了。