nix: update to 1.11.16.

Closes .
This commit is contained in:
Leah Neukirchen 2017-12-31 14:49:08 +01:00
parent 946e649b15
commit ae49cf0b90
2 changed files with 6 additions and 5 deletions
srcpkgs/nix

View file

@ -1,7 +1,7 @@
# Template file for 'nix' # Template file for 'nix'
pkgname=nix pkgname=nix
version=1.11.4 version=1.11.16
revision=8 revision=1
build_style=gnu-configure build_style=gnu-configure
# Use /nix/var as suggested by the official Manual. # Use /nix/var as suggested by the official Manual.
configure_args="--localstatedir=/nix/var" configure_args="--localstatedir=/nix/var"
@ -9,7 +9,7 @@ depends="curl perl-WWW-Curl perl-DBD-SQLite"
hostmakedepends="automake libtool pkg-config flex ${depends}" hostmakedepends="automake libtool pkg-config flex ${depends}"
# Extra run-time dependencies. # Extra run-time dependencies.
makedepends="bzip2-devel gc-devel libcurl-devel liblzma-devel libressl-devel 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" shlib_requires="libperl.so.5.26"
# Default configuration file. # Default configuration file.
conf_files="/etc/nix/nix.conf" conf_files="/etc/nix/nix.conf"
@ -37,10 +37,9 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://nixos.org/nix/" homepage="http://nixos.org/nix/"
distfiles="http://nixos.org/releases/nix/nix-${version}/nix-${version}.tar.xz" distfiles="http://nixos.org/releases/nix/nix-${version}/nix-${version}.tar.xz"
checksum=937779ed2efaa3dec210250635401980acb99a6fea6d7374fbaea78231b36d34 checksum=0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c
pre_configure() { pre_configure() {
sed -i 's/ucontext/ucontext_t/g' src/libmain/stack.cc
sed -i '/^CFLAGS=/d;/^CXXFLAGS=/d' configure sed -i '/^CFLAGS=/d;/^CXXFLAGS=/d' configure
sed -i 's/site_perl.*/vendor_perl/g' configure sed -i 's/site_perl.*/vendor_perl/g' configure
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk

2
srcpkgs/nix/update Normal file
View file

@ -0,0 +1,2 @@
site='https://nixos.org/releases/nix/'
pattern='nix-\K[\d.]+'