-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Closed
Description
what we want
hey,
on NixOS we want to have stable, beta and nightly built as according to the docs of rust but we tried many different versions and it always fails with errors like this:
https://gist.github.com/qknight/15550e3b24b8a503897ac92fffe88804
or in short:
error[E0554]: #[feature] may not be used on the beta release channel
--> src/libcore/lib.rs:93:1
|
93 | #![feature(never_type)]
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: #[feature] may not be used on the beta release channel
--> src/libcore/lib.rs:94:1
|
94 | #![feature(prelude_import)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 25 previous errors
that said have a look at these files:
https://github.com/nixcloud/nixpkgs/blob/experimentalUpdate/pkgs/development/compilers/rust/default.nix
https://github.com/nixcloud/nixpkgs/blob/experimentalUpdate/pkgs/development/compilers/rust/beta.nix
https://github.com/nixcloud/nixpkgs/blob/experimentalUpdate/pkgs/development/compilers/rust/nightly.nix
we use these channels:
- "--release-channel=stable" to build
stable - "--release-channel=beta" to build
betafromstable - "--release-channel=nightly" to build
nightlyfrombeta
and then it fails.
if we do this:
- "--release-channel=nightly" for building
stable,betaandnightlywe don't see thechannelerrors listed above.
what is going wrong here?
vyp
Metadata
Metadata
Assignees
Labels
No labels