aboutsummaryrefslogtreecommitdiff
path: root/system/nix/nix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nix/nix.SlackBuild')
-rw-r--r--system/nix/nix.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/nix/nix.SlackBuild b/system/nix/nix.SlackBuild
index 135693305e142..f3e2e835e4074 100644
--- a/system/nix/nix.SlackBuild
+++ b/system/nix/nix.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nix
-# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com>
# Copyright 2015 Pragmatic Cypher <slackbuilds@server.ky>
# All rights reserved.
#
@@ -46,7 +46,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nix
-VERSION=${VERSION:-2.8.1}
+VERSION=${VERSION:-2.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -97,10 +97,12 @@ 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 {} \+
-# 20220325 bkw: patch from Debian, stops nix from installing
-# /usr/bin/nix and its libraries during "make". spamming the real
-# root partition is bad, m'kay?
-patch -p1 < $CWD/fix_nix_DIR_in_doc_local_mk.patch
+# - 20220325 bkw: patch from Debian, stops nix from installing
+# /usr/bin/nix and its libraries during "make". spamming the real
+# root partition is bad, m'kay? (Updated)
+# - The above patch was added thanks to Pragmatic Cypher, along with
+# mdbook patch to make it disabled.
+patch -p1 < $CWD/fix_nix_options.patch
autoreconf -vfim
autoheader