parent
946e649b15
commit
ae49cf0b90
2 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nix'
|
||||
pkgname=nix
|
||||
version=1.11.4
|
||||
revision=8
|
||||
version=1.11.16
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
# Use /nix/var as suggested by the official Manual.
|
||||
configure_args="--localstatedir=/nix/var"
|
||||
|
@ -9,7 +9,7 @@ depends="curl perl-WWW-Curl perl-DBD-SQLite"
|
|||
hostmakedepends="automake libtool pkg-config flex ${depends}"
|
||||
# Extra run-time dependencies.
|
||||
makedepends="bzip2-devel gc-devel libcurl-devel liblzma-devel libressl-devel
|
||||
libsodium-devel pkg-config sqlite-devel"
|
||||
libsodium-devel pkg-config sqlite-devel libseccomp-devel"
|
||||
shlib_requires="libperl.so.5.26"
|
||||
# Default configuration file.
|
||||
conf_files="/etc/nix/nix.conf"
|
||||
|
@ -37,10 +37,9 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="LGPL-2.1"
|
||||
homepage="http://nixos.org/nix/"
|
||||
distfiles="http://nixos.org/releases/nix/nix-${version}/nix-${version}.tar.xz"
|
||||
checksum=937779ed2efaa3dec210250635401980acb99a6fea6d7374fbaea78231b36d34
|
||||
checksum=0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's/ucontext/ucontext_t/g' src/libmain/stack.cc
|
||||
sed -i '/^CFLAGS=/d;/^CXXFLAGS=/d' configure
|
||||
sed -i 's/site_perl.*/vendor_perl/g' configure
|
||||
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk
|
||||
|
|
2
srcpkgs/nix/update
Normal file
2
srcpkgs/nix/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site='https://nixos.org/releases/nix/'
|
||||
pattern='nix-\K[\d.]+'
|
Loading…
Reference in a new issue