Package Details: nushell-git 0.15.0.r2.ga268e825-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
Submitter: flaviut
Maintainer: flaviut
Last Packager: flaviut
Votes: 1
Popularity: 0.009329
First Submitted: 2019-08-23 22:58
Last Updated: 2020-06-11 19:02

Latest Comments

1 2 Next › Last »

TheGoliath commented on 2020-06-11 22:04

Good to hear :)

flaviut commented on 2020-06-11 19:04

@TheGoliath

Thanks for the suggestions. I didn't make use of all of it (arch=('any') is incorrect due to this not being arch-independent), but I've pushed a new pkgbuild.

flaviut commented on 2020-06-11 18:57

Running into error: reached the type-length limit while instantiating std::thread::LocalKey::<std::syn...:Vec<nu_protocol::value::Value>>?

Make sure you have at least rust stable 1.44 installed.

TheGoliath commented on 2020-06-11 17:09

# Maintainer: Flaviu Tamas <me@flaviutamas.com>
# Contributor: Felix Golatofski <contact@xdfr.de>

_pkgname=nushell
pkgname=$_pkgname-git
pkgver=0.15.0.r0.ga3e1a3f2
pkgrel=1
pkgdesc='A new type of shell.'
arch=('any')
url="https://www.nushell.sh"
license=('MIT')
depends=('openssl' 'zlib' 'e2fsprogs')
makedepends=('git' 'rust' 'cargo' 'python')
optdepends=('libxcb' 'libx11')
source=("$pkgname::git+https://github.com/nushell/nushell.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  case "$CFLAGS" in  *"-g"*) export RUSTFLAGS="-g";; esac
  cd "$srcdir/$pkgname"

  # user may not be using rustup, so always succeed
  rustup override set stable || true
  cargo install \
    --locked \
    --path . \
    --features stable \
    --root "${pkgdir}"/usr

  rm -f "$pkgdir/usr/.crates.toml"
}

Might that PKGBUILD be used? New VCS conventions, pkgdesc, cleaner PKGBUILD

flaviut commented on 2020-03-30 01:57

Fixed. Sorry about the delay.

aleksator commented on 2020-03-13 12:04

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

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

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

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

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