diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:24:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:24:20 +0100 |
commit | 891d6aee0f5eeb733173384a2a3e84203fb12654 (patch) | |
tree | db4341bc663c3810a0a0c838a84dde819a0e0228 /PKGBUILD | |
parent | ed04b08b9b4e7c4b8c882450536895592341edcc (diff) | |
download | AUR-891d6aee0f5eeb733173384a2a3e84203fb12654.tar.gz AUR-891d6aee0f5eeb733173384a2a3e84203fb12654.tar.zst AUR-891d6aee0f5eeb733173384a2a3e84203fb12654.zip |
upgpkg: nix 2.2.1-1
Update package to make use of dash-static and editline
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -13,7 +13,7 @@ pkgdesc="A purely functional package manager" | |||
13 | arch=('i686' 'x86_64' 'armv7h') | 13 | arch=('i686' 'x86_64' 'armv7h') |
14 | url="https://nixos.org/nix" | 14 | url="https://nixos.org/nix" |
15 | license=('LGPL') | 15 | license=('LGPL') |
16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') | 16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') |
17 | makedepends=('bzip2' 'gc' 'openssl') | 17 | makedepends=('bzip2' 'gc' 'openssl') |
18 | install=nix.install | 18 | install=nix.install |
19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | 19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") |
@@ -26,11 +26,10 @@ prepare() { | |||
26 | 26 | ||
27 | build () { | 27 | build () { |
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 | } |