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
beta
fromstable
- "--release-channel=nightly" to build
nightly
frombeta
and then it fails.
if we do this:
- "--release-channel=nightly" for building
stable
,beta
andnightly
we don't see thechannel
errors listed above.
what is going wrong here?
Metadata
Metadata
Assignees
Labels
No labels