From f3e9dfc5473b5ba7f8d860b2096b56f07d932236 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 1 Jul 2023 16:04:29 +0200 Subject: Revert "gnu: nix: Update to 2.16.0." This reverts commit 554d46882bc4443dcebbba5aac70b016537d0975. Wrong patch revision. --- gnu/packages/package-management.scm | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'gnu/packages/package-management.scm') diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 529ed5c666..fbc6c2ca25 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -20,7 +20,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer ;;; Copyright © 2021 John Kehayias -;;; Copyright © 2022, 2023 Zhu Zihao +;;; Copyright © 2022 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,7 +56,6 @@ (define-module (gnu packages package-management) #:use-module (gnu packages compression) #:use-module (gnu packages cmake) #:use-module (gnu packages cpio) - #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages databases) @@ -732,7 +731,7 @@ (define-public guix-modules (define-public nix (package (name "nix") - (version "2.16.0") + (version "2.5.1") (source (origin (method git-fetch) @@ -741,7 +740,7 @@ (define-public nix (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0jizpci4zspqpqqy3n780m4wh8dzhfywaiz953xv70c7in810dra")) + (base32 "1m8rmv8i6lg83pmalvjlq1fn8mcghn3ngjv3kw1kqsa45ymj5sqq")) (patches (search-patches "nix-dont-build-html-doc.diff")))) (build-system gnu-build-system) @@ -758,19 +757,7 @@ (define-public nix (apply invoke "make" "install" (string-append "sysconfdir=" etc) (string-append "profiledir=" etc "/profile.d") - make-flags)))) - (replace 'check - (lambda args - ;; Some test expect environment variable NIX_STORE to be - ;; "/nix/store" - (let ((original-NIX_STORE (getenv "NIX_STORE"))) - (dynamic-wind - (lambda () - (setenv "NIX_STORE" "/nix/store")) - (lambda () - (apply (assoc-ref %standard-phases 'check) args)) - (lambda () - (setenv "NIX_STORE" original-NIX_STORE))))))))) + make-flags))))))) (native-inputs (list autoconf autoconf-archive @@ -780,8 +767,7 @@ (define-public nix googletest jq libtool - pkg-config - rapidcheck)) + pkg-config)) (inputs (append (list boost brotli @@ -793,7 +779,6 @@ (define-public nix libseccomp libsodium lowdown - nlohmann-json openssl sqlite xz -- cgit v1.2.3