lexexception:F-string:田野中的尾巴
在执行以下操作时,我会得到错误lexexception:f-string:taild junk of field
:
(nixos-install #* ctx.args
:I (with [f (open (+ resources "/flake.lock"))]
f"nixpkgs=https://github.com/nixos/nixpkgs/archive/{(D (.load json f)).nodes.nixos-22-05.locked.rev}.tar.gz")
:m/run True
:show-trace True
:install-bootloader install-bootloader
:option "tarball-ttl 0")
这到底是什么意思?
In doing the following, I'm getting the error LexException: f-string: trailing junk in field
:
(nixos-install #* ctx.args
:I (with [f (open (+ resources "/flake.lock"))]
f"nixpkgs=https://github.com/nixos/nixpkgs/archive/{(D (.load json f)).nodes.nixos-22-05.locked.rev}.tar.gz")
:m/run True
:show-trace True
:install-bootloader install-bootloader
:option "tarball-ttl 0")
What exactly does this mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论