[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/57: gnu: criu: Remove temporary workaround.
From: |
guix-commits |
Subject: |
07/57: gnu: criu: Remove temporary workaround. |
Date: |
Mon, 6 May 2024 04:08:09 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit fb70a545ad2b494f39ae7d22e205759702006e10
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 34cccd6550..1d3edf5976 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1912,8 +1912,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
@@ -1936,17 +1940,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 df580a54f4), guix-commits, 2024/05/06
- 02/57: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/05/06
- 05/57: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/05/06
- 01/57: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/05/06
- 03/57: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/05/06
- 06/57: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/05/06
- 12/57: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/05/06
- 07/57: gnu: criu: Remove temporary workaround.,
guix-commits <=
- 13/57: doc: Document new options for pyproject-build-system., guix-commits, 2024/05/06
- 18/57: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/05/06
- 20/57: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/05/06
- 27/57: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/05/06
- 23/57: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/05/06
- 21/57: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/05/06
- 04/57: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/05/06
- 11/57: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/05/06
- 19/57: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/05/06
- 43/57: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/05/06