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")
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
}