Package Details: nushell-git 0.77.0.r6.g24ee381-1

Git Clone URL: https://aur.archlinux.org/nushell-git.git (read-only, click to copy)
Package Base: nushell-git
Description: A new type of shell
Upstream URL: https://www.nushell.sh
Licenses: MIT
Conflicts: nushell
Provides: nushell
Submitter: flaviut
Maintainer: flaviut (alerque)
Last Packager: alerque
Votes: 5
Popularity: 0.005457
First Submitted: 2019-08-23 22:58 (UTC)
Last Updated: 2024-03-28 01:09 (UTC)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

aleksator commented on 2020-03-13 12:04 (UTC)

warning: package quote v1.0.2 in Cargo.lock is yanked in registry crates.io, consider running without --locked error: failed to compile nu v0.11.0 (/home/aleksator/.cache/yay/nushell-git/src/nushell-git), intermediate artifacts can be found at /home/aleksator/.cache/yay/nushell-git/src/nushell-git/target

Caused by: Package nu v0.11.0 (/home/aleksator/.cache/yay/nushell-git/src/nushell-git) does not have these features: raw-key, clipboard ==> ERROR: A failure occurred in package(). Aborting... Error making: nushell-git

flaviut commented on 2019-09-02 20:00 (UTC)

Sorry about the delay, I've been out of town.

@kbumsik Done.

@jdc I'm sorry, I really don't know. It's worked fine for me with 2019-08-22 and 2019-09-01. If you find a solution, please let us know.

kbumsik commented on 2019-08-25 02:16 (UTC)

According to the documentation we can add additional features like this

cargo install nu --features rawkey,clipboard

Please consider adding them by default.

jdc commented on 2019-08-24 20:56 (UTC) (edited on 2019-08-24 20:56 (UTC) by jdc)

When I try to build with rustc 1.39.0-nightly (9eae1fc0e 2019-08-23), it can't find enum_utils:

Compiling nu v0.2.0 (/home/jeff/.cache/yay/nushell-git/src/nushell-git)
error: /home/jeff/.cache/yay/nushell-git/src/nushell-git/target/release/deps/libenum_utils-5f3b72ac991ac4e4.so: undefined symbol: __rbt_backtrace_pcinfo
 --> src/parser/parse/token_tree.rs:5:5
  |
5 | use enum_utils::FromStr;
  |     ^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `nu`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `nu v0.2.0 (/home/jeff/.cache/yay/nushell-git/src/nushell-git)`, intermediate artifacts can be found at `/home/jeff/.cache/yay/nushell-git/src/nushell-git/target`

Caused by:
  build failed
==> ERROR: A failure occurred in package().
    Aborting...

flaviut commented on 2019-08-24 03:18 (UTC)

Didn't know about override, I've added that as an optional command.

mschulkind commented on 2019-08-24 03:15 (UTC)

Using the following as an example: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=coax

It looks like all you've gotta do is add something like:

    rustup override set nightly-2019-08-22

to build().

flaviut commented on 2019-08-24 02:53 (UTC)

apart from encoded dependencies

Yes, that's right, but the encoded dependency in this case requires some configuration before it is usable at all, by anything. If you'd like to use rust-nightly-bin, then I'm sure that'd work without any configuration.

mschulkind commented on 2019-08-24 02:51 (UTC)

While I'm sure I could configure rustup manually and get this to work, isn't the point of an AUR package that it's isolated from the host system, apart from encoded dependencies and setup/build steps?

flaviut commented on 2019-08-24 02:43 (UTC) (edited on 2019-08-24 02:43 (UTC) by flaviut)

@mschulkind

try following https://stackoverflow.com/a/46864309/2299084 to configure rustup. (you're using rustup, right?)

mschulkind commented on 2019-08-24 02:17 (UTC)

Thanks for the quick response, it's different now, but still not working:

==> Making package: nushell-git r702.cd1e16d-3 (Fri 23 Aug 2019 09:49:51 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
error: no default toolchain configured
==> ERROR: A failure occurred in package().
    Aborting...
Error making: nushell-git