std
std copied to clipboard
The upgrade command from std TUI fails on the example flake for the `hello` package
I see, it is expected? You have to use cargo new to create your rust project
For me, pretty much all commands on packages except build fail due to quoting problems detected by shellcheck.
Attempted fix: https://github.com/divnix/std/pull/358
❯ std //hello/packages/hello:bundle
this derivation will be built:
nix-output-monitor error: DerivationReadError /nix/store/hqxv22vbvwy1nwwf6vp40i32sn37mpmk-source.drv: hGetContents: invalid argument (cannot decode byte sequence starting from 195)
/nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv
bundle> building '/nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv'
bundle>
bundle> In /nix/store/srzzp8mrqrb7f42klkxyj3v20jqap4id-bundle line 15:
bundle> nix bundle --bundler github:Ninlives/relocatable.nix --refresh $PRJ_ROOT#"x86_64-linux"."hello"."packages"."hello"
bundle> ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
bundle> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
bundle> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
bundle> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
bundle>
bundle> Did you mean:
bundle> nix bundle --bundler github:Ninlives/relocatable.nix --refresh "$PRJ_ROOT"#"x86_64-linux"."hello"."packages"."hello"
bundle>
bundle> For more information:
bundle> https://www.shellcheck.net/wiki/SC2140 -- Word is of the form "A"B"C" (B in...
bundle> https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
error: builder for '/nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv' failed with exit code 1;
last 10 log lines:
> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
> ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
>
> Did you mean:
> nix bundle --bundler github:Ninlives/relocatable.nix --refresh "$PRJ_ROOT"#"x86_64-linux"."hello"."packages"."hello"
>
> For more information:
> https://www.shellcheck.net/wiki/SC2140 -- Word is of the form "A"B"C" (B in...
> https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
For full logs, run 'nix log /nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv'.
┏━ 1 Errors:
┃ error: builder for '/nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv' failed with exit code 1;
┃ last 10 log lines:
┃ > ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or…
┃ > ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Did you mean …
┃ > ^-- SC2140 (warning): Word is of the form "A"B"C" (B indicated). Di…
┃ >
┃ > Did you mean:
┃ > nix bundle --bundler github:Ninlives/relocatable.nix --refresh "$PRJ_ROOT"#"x86_64-linux"."hello"."packages"."hello"
┃ >
┃ > For more information:
┃ > https://www.shellcheck.net/wiki/SC2140 -- Word is of the form "A"B"C" (B in...
┃ > https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
┃ For full logs, run 'nix log /nix/store/bdgmv51rwln9a9fcn0lz4flfwcnr8320-bundle.drv'.
┣━ Dependency Graph:
┃ ⚠︎ bundle failed with exit code 1 after ⏱︎ 0s
┣━━━
┗━ ∑︎ ⚠︎ Exited after 1 build failures at 11:51:10 after 1s