aboutsummaryrefslogtreecommitdiff
path: root/nix/PKGBUILD
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 14:24:20 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 14:24:20 +0100
commit1f952b6c17261c0cf73c7f356eed2634622bac30 (patch)
tree001730bbc3ecc0fc935c2d4dc49da9b7c4d36b83 /nix/PKGBUILD
parent0e3d6dde1abc6a21490653ae17bf43c047c4b3c0 (diff)
downloadAUR-1f952b6c17261c0cf73c7f356eed2634622bac30.tar.gz
AUR-1f952b6c17261c0cf73c7f356eed2634622bac30.tar.zst
AUR-1f952b6c17261c0cf73c7f356eed2634622bac30.zip
upgpkg: nix 2.2.1-1
Update package to make use of dash-static and editline
Diffstat (limited to 'nix/PKGBUILD')
-rw-r--r--nix/PKGBUILD5
1 files changed, 2 insertions, 3 deletions
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"
13arch=('i686' 'x86_64' 'armv7h') 13arch=('i686' 'x86_64' 'armv7h')
14url="https://nixos.org/nix" 14url="https://nixos.org/nix"
15license=('LGPL') 15license=('LGPL')
16depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') 16depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static')
17makedepends=('bzip2' 'gc' 'openssl') 17makedepends=('bzip2' 'gc' 'openssl')
18install=nix.install 18install=nix.install
19source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") 19source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz")
@@ -26,11 +26,10 @@ prepare() {
26 26
27build () { 27build () {
28 cd "$pkgname-$pkgver" 28 cd "$pkgname-$pkgver"
29 export EDITLINE_CFLAGS="-DREADLINE"
30 export EDITLINE_LIBS="/usr/lib/libreadline.so"
31 ./configure --prefix=/usr \ 29 ./configure --prefix=/usr \
32 --libexecdir="/usr/lib/$pkgname" \ 30 --libexecdir="/usr/lib/$pkgname" \
33 --sysconfdir=/etc \ 31 --sysconfdir=/etc \
32 --with-sandbox-shell=/usr/bin/dash-static \
34 --enable-gc 33 --enable-gc
35 make 34 make
36} 35}