[Bug 266564] [NEW PORT] x11/eww: ElKowars wacky widgets
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266564] [NEW PORT] x11/eww: ElKowars wacky widgets"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Sep 2022 01:08:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266564
Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #236775|0 |1
is obsolete| |
--- Comment #3 from Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> ---
Created attachment 236798
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236798&action=edit
eww-0.4.0
Changes:
* pet portfmt
* remove glib20 and pango
* replace hardcoded eww entries with ${PORTNAME}
* use CARGO_INSTALL_PATH
* add a patch to fix the correct version of eww in Cargo.lock.
---
Hi!
Thank you for that information, this is very useful.
---
A missing change that I cannot add is remove nightly because eww could not
compile.
I have seen that NixPkg [1] uses that environment variable and I don't know
much about Nix but I can't understand why/how it can compile eww that way. AUR
[2] and Alpine [3] does not use that variable, they use nightly.
The error that rust shows me when nightly is not used is:
```
rustc --explain E0658
An unstable feature was used.
Erroneous code example:
```
#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
Bar(u64),
}
```
If you're using a stable or a beta version of rustc, you won't be able
to use
any unstable features. In order to do so, please switch to a nightly
version of
rustc (by using [rustup]).
If you're using a nightly version of rustc, just add the corresponding
feature
to be able to use it:
```
#![feature(repr128)]
#[repr(u128)] // ok!
enum Foo {
Bar(u64),
}
```
[rustup]: https://rust-lang.github.io/rustup/concepts/channels.html
```
[1]
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/eww/default.nix
[2] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=eww#n19
[3] https://git.alpinelinux.org/aports/tree/testing/eww/APKBUILD#n10
--
You are receiving this mail because:
You are the assignee for the bug.