Skip to content

Commit

Permalink
fix: pin rust dependencies; undo cargo lock update
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbr committed Sep 9, 2023
1 parent f8a469b commit 68b6896
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 137 deletions.
2 changes: 0 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#6194da",
"titleBar.activeBackground": "#3878d0",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#3878d099",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.remoteColor": "#3878d0"
}
Loading

3 comments on commit 68b6896

@cheon13
Copy link

@cheon13 cheon13 commented on 68b6896 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just intalled the newest version 23.5.5.2 and it seems that bug is always there.

Executing cargoBuildHook
++ env CC_x86_64-unknown-linux-gnu=/nix/store/3hbxw05vfs6m1155xa6pvribs3bv777n-gcc-wrapper-12.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/3hbxw05vfs6m1155xa6pvribs3bv777n-gcc-wrapper-12.2.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/3hbxw05vfs6m1155xa6pvribs3bv777n-gcc-wrapper-12.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/3hbxw05vfs6m1155xa6pvribs3bv777n-gcc-wrapper-12.2.0/bin/c++ cargo build -j 8 --target x86_64-unknown-linux-gnu --frozen --release
error: package `clap_lex v0.6.0` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.69.0
Either upgrade to rustc 1.70.0 or newer, or use
cargo update -p clap_lex@0.6.0 --precise ver
where `ver` is the latest version of `clap_lex` supporting rustc 1.69.0
error: builder for '/nix/store/amiirgbp4p9f9br1wqwi8y311ci5iwsj-nixos-wsl-utils-1.0.0.drv' failed with exit code 101
error: 1 dependencies of derivation '/nix/store/6bzjzk4f6zl83j9bzhf883yk4y31ixvy-nixos-system-nixos-23.05.5058.d2332963662e.drv' failed to build

@SuperSandro2000
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are tracking the main branch, you should update to 23.11.

@cheon13
Copy link

@cheon13 cheon13 commented on 68b6896 Dec 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I update to 23.11 and it works like a charm.

Please sign in to comment.