From 1f952b6c17261c0cf73c7f356eed2634622bac30 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 --- nix/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nix/PKGBUILD') diff --git a/nix/PKGBUILD b/nix/PKGBUILD index daa8e74..a3c9a86 100644 --- a/nix/PKGBUILD +++ b/nix/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