-
-
Notifications
You must be signed in to change notification settings - Fork 151
Closed as not planned
Closed as not planned
Copy link
Labels
questionFurther information is requestedFurther information is requested
Description
Bug description
After a fresh import of 23.5.5.2 nixos-wsl.tar.gz, the nixos-rebuild switch fails with the error below (Logs section).
To Reproduce
Steps to reproduce the behavior:
- Download https://github.com/nix-community/NixOS-WSL/releases/download/23.5.5.2/nixos-wsl.tar.gz
wsl --import NixOS .\NixOS\ nixos-wsl.tar.gz --version 2
wsl -d NixOS
sudo nix-channel --update
sudo nixos-rebuild switch
Expected behavior
No errors.
Logs
[root@nixos:~]# nixos-rebuild switch
building Nix...
building the system configuration...
these 5 derivations will be built:
/nix/store/amiirgbp4p9f9br1wqwi8y311ci5iwsj-nixos-wsl-utils-1.0.0.drv
/nix/store/k0b129cm1j0r7qj7jc4wj6agkp05haky-set-environment.drv
/nix/store/s50idrivwlqgfyjryys6z9n856v43n67-etc-profile.drv
/nix/store/vcc6c1qs0ypancg1cf2pj88pphs2xdjq-etc.drv
/nix/store/lm678kpf4b7w2849kqhjmidl7sgz4fd5-nixos-system-nixos-23.05.5058.d2332963662e.drv
building '/nix/store/amiirgbp4p9f9br1wqwi8y311ci5iwsj-nixos-wsl-utils-1.0.0.drv'...
unpacking sources
unpacking source archive /nix/store/j2hr32shgjzcp6gnqm6zqvxxn3nxcyp8-utils
source root is utils
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /build/utils/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
configuring
building
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/lm678kpf4b7w2849kqhjmidl7sgz4fd5-nixos-system-nixos-23.05.5058.d2332963662e.drv' failed to build
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested