[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/222: gnu: criu: Remove temporary workaround.
From: |
guix-commits |
Subject: |
07/222: gnu: criu: Remove temporary workaround. |
Date: |
Fri, 1 Nov 2024 10:56:13 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 71c16f87c86a87cd75aa793b450885d7f27d6562
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 776acdfe06..0d6bcbd738 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1988,8 +1988,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
@@ -2001,17 +2005,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
- 30/222: gnu: python-traitlets: Update to 5.14.1., (continued)
- 30/222: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/01
- 40/222: gnu: java-testng: Disable one test., guix-commits, 2024/11/01
- 48/222: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/01
- 09/222: guix: toml: Add TOML parser., guix-commits, 2024/11/01
- 05/222: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/11/01
- 15/222: gnu: Add missing import., guix-commits, 2024/11/01
- 18/222: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/01
- 14/222: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/01
- 28/222: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/11/01
- 45/222: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/11/01
- 07/222: gnu: criu: Remove temporary workaround.,
guix-commits <=
- 13/222: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/01
- 19/222: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/01
- 43/222: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/01
- 46/222: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/11/01
- 52/222: gnu: python-pyproject-metadata: Disable two tests., guix-commits, 2024/11/01
- 12/222: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/11/01
- 17/222: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/01
- 16/222: gnu: Add missing import (again)., guix-commits, 2024/11/01
- 20/222: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/01
- 22/222: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/01