[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/18: gnu: criu: Remove temporary workaround.
From: |
guix-commits |
Subject: |
07/18: gnu: criu: Remove temporary workaround. |
Date: |
Mon, 26 Feb 2024 15:43:22 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 33c05dc9ddc5c8a4f3c6cd945e1c7798886ccef2
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat May 13 15:31:22 2023 +0200
gnu: criu: Remove temporary workaround.
* gnu/packages/virtualization.scm (criu)[arguments]: Import
ensure-no-mtimes-pre-1980 from python-build-system and remove copied code.
Change-Id: I2ab9eb51dfa66fcf5b0144eab73d63055400e30c
---
gnu/packages/virtualization.scm | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index a0889c4dd7..c77c8f4df8 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1902,8 +1902,12 @@ client desktops.
(string-append "XMLTO="
(search-input-file %build-inputs
"/bin/xmlto")))
- #:modules ((ice-9 ftw)
- ,@%gnu-build-system-modules)
+ #:modules ((guix build gnu-build-system)
+ (guix build utils)
+ ((guix build python-build-system)
+ #:select (ensure-no-mtimes-pre-1980)))
+ #:imported-modules ,(append %gnu-build-system-modules
+ %python-build-system-modules)
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
@@ -1926,17 +1930,8 @@ client desktops.
(substitute* "criu/include/plugin.h"
(("/var") (string-append (assoc-ref outputs "out"))))
))
- ;; TODO: use
- ;; (@@ (guix build python-build-system) ensure-no-mtimes-pre-1980)
- ;; when it no longer throws due to trying to call UTIME on symlinks.
(add-after 'unpack 'ensure-no-mtimes-pre-1980
- (lambda _
- (let ((early-1980 315619200)) ; 1980-01-02 UTC
- (ftw "." (lambda (file stat flag)
- (unless (or (<= early-1980 (stat:mtime stat))
- (eq? (stat:type stat) 'symlink))
- (utime file early-1980 early-1980))
- #t)))))
+ ensure-no-mtimes-pre-1980)
(add-before 'build 'fix-symlink
(lambda* (#:key inputs #:allow-other-keys)
;; The file 'images/google/protobuf/descriptor.proto' points to
- branch python-team created (now f9bbdb99cb), guix-commits, 2024/02/26
- 01/18: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/02/26
- 03/18: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/02/26
- 06/18: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/02/26
- 02/18: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/02/26
- 07/18: gnu: criu: Remove temporary workaround.,
guix-commits <=
- 09/18: guix: toml: Add TOML parser., guix-commits, 2024/02/26
- 10/18: build-system/pyproject: Use TOML parser., guix-commits, 2024/02/26
- 11/18: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/02/26
- 08/18: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/02/26
- 04/18: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/02/26
- 05/18: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/02/26
- 12/18: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/02/26
- 15/18: gnu: Add missing import., guix-commits, 2024/02/26
- 14/18: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/02/26
- 17/18: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/02/26