From 891d6aee0f5eeb733173384a2a3e84203fb12654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 14:24:20 +0100 Subject: upgpkg: nix 2.2.1-1 Update package to make use of dash-static and editline --- .SRCINFO | 3 ++- PKGBUILD | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 45cfdc5..1e3af62 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -15,7 +15,8 @@ pkgbase = nix depends = libsodium depends = boost depends = brotli - depends = readline + depends = editline + depends = dash-static source = https://nixos.org/releases/nix/nix-2.2.1/nix-2.2.1.tar.xz sha256sums = 85f8d3518060803e44e51b1a9ada1a39cea904b36a632ba1844043a0b63be515 diff --git a/PKGBUILD b/PKGBUILD index daa8e74..a3c9a86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ pkgdesc="A purely functional package manager" arch=('i686' 'x86_64' 'armv7h') url="https://nixos.org/nix" license=('LGPL') -depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') +depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') makedepends=('bzip2' 'gc' 'openssl') install=nix.install source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") @@ -26,11 +26,10 @@ prepare() { build () { cd "$pkgname-$pkgver" - export EDITLINE_CFLAGS="-DREADLINE" - export EDITLINE_LIBS="/usr/lib/libreadline.so" ./configure --prefix=/usr \ --libexecdir="/usr/lib/$pkgname" \ --sysconfdir=/etc \ + --with-sandbox-shell=/usr/bin/dash-static \ --enable-gc make } -- cgit v1.2.3