aboutsummaryrefslogtreecommitdiff
path: root/system/nix
diff options
context:
space:
mode:
authorRSKYS <Pouria.rz@outlook.com>2021-11-05 17:26:35 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-05 22:33:11 +0700
commit502444ead9c5c2687d90dd9b5bbf51345c0deb03 (patch)
treecb3636fd07f5656432ca7e76391cb2a4a42a7ee4 /system/nix
parentf39781ed28e2786d237839eaceeb3da988ef27bb (diff)
system/nix: Updated for version 2.4.
Signed-off-by: RSKYS <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nix')
-rw-r--r--system/nix/nix.SlackBuild12
-rw-r--r--system/nix/nix.info8
2 files changed, 10 insertions, 10 deletions
diff --git a/system/nix/nix.SlackBuild b/system/nix/nix.SlackBuild
index b8dc4e9706090..933fcf89d0db1 100644
--- a/system/nix/nix.SlackBuild
+++ b/system/nix/nix.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nix
-VERSION=${VERSION:-2.3.16}
+VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-${VERSION}.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,6 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -vfim
+autoheader
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,10 +105,8 @@ mkdir -p $PKG/var/nix/profiles
mkdir -p $PKG/nix/var/nix/profiles
mkdir -p $PKG/nix/var/nix/daemon-socket
-rm -fr $PKG/etc/init.d
-rm -fr $PKG/usr/lib/systemd
-
-mv $PKG/usr/lib/pkgconfig/ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/
+rm -fR $PKG/etc/init.d
+rm -fR $PKG/usr/lib${LIBDIRSUFFIX}/systemd
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/nix/nix.info b/system/nix/nix.info
index ec0593b841dfa..765fb3e421742 100644
--- a/system/nix/nix.info
+++ b/system/nix/nix.info
@@ -1,10 +1,10 @@
PRGNAM="nix"
-VERSION="2.3.16"
+VERSION="2.4"
HOMEPAGE="http://nixos.org/nix"
-DOWNLOAD="http://nixos.org/releases/nix/nix-2.3.16/nix-2.3.16.tar.xz"
-MD5SUM="3739073d7b4fb5545701dd510fbf0288"
+DOWNLOAD="https://github.com/NixOS/nix/archive/2.4/nix-2.4.tar.gz"
+MD5SUM="686bbd609a738b17893c83bee2ad8324"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libeditline libseccomp"
+REQUIRES="gtest jq libeditline libseccomp lowdown libcpuid mdbook"
MAINTAINER="Pouria Rezaei"
EMAIL="Pouria.rz@outlook.com"