[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/361: gnu: criu: Remove temporary workaround.
From: |
guix-commits |
Subject: |
07/361: gnu: criu: Remove temporary workaround. |
Date: |
Thu, 21 Nov 2024 06:28:37 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 400a32c61b93a2763c8884a8ff92df524028e492
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 b76180c3c6..35c99fa281 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1995,8 +1995,12 @@ client desktops.
(string-append "XMLTO="
(search-input-file %build-inputs
"/bin/xmlto")))
- #:modules ((ice-9 ftw)
- ,@%default-gnu-modules)
+ #:modules ((guix build gnu-build-system)
+ (guix build utils)
+ ((guix build python-build-system)
+ #:select (ensure-no-mtimes-pre-1980)))
+ #:imported-modules ,(append %default-gnu-imported-modules
+ %python-build-system-modules)
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
@@ -2008,17 +2012,8 @@ client desktops.
;; Hard-code the correct PLUGINDIR above.
(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
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., (continued)
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/21
- 10/361: build-system/pyproject: Use TOML parser., guix-commits, 2024/11/21
- 20/361: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/21
- 44/361: gnu: python-itemloaders: Fix indentation., guix-commits, 2024/11/21
- 48/361: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/21
- 49/361: gnu: python-box: Add missing input., guix-commits, 2024/11/21
- 75/361: gnu: Add python-nbclassic., guix-commits, 2024/11/21
- 71/361: gnu: Add python-overrides., guix-commits, 2024/11/21
- 91/361: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/21
- 65/361: gnu: Add python-referencing., guix-commits, 2024/11/21
- 07/361: gnu: criu: Remove temporary workaround.,
guix-commits <=
- 38/361: gnu: python-argcomplete: Add missing input., guix-commits, 2024/11/21
- 37/361: gnu: python-eventlet: Update to 0.35.2., guix-commits, 2024/11/21
- 39/361: gnu: java-testng: Drop input labels., guix-commits, 2024/11/21
- 41/361: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/11/21
- 46/361: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/11/21
- 69/361: gnu: Add python-uri-template., guix-commits, 2024/11/21
- 64/361: gnu: Add python-pep440., guix-commits, 2024/11/21
- 57/361: gnu: snakemake-6: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 61/361: gnu: python-nbclient: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 93/361: gnu: python-json-logger: Update to 2.0.7., guix-commits, 2024/11/21