[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/31: gnu: unionfs-fuse-static: Run tests.
From: |
guix-commits |
Subject: |
30/31: gnu: unionfs-fuse-static: Run tests. |
Date: |
Sat, 29 Jul 2023 20:05:01 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit ee769c46381c95f3700c472f78518d283b039690
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 23 02:00:00 2023 +0200
gnu: unionfs-fuse-static: Run tests.
* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]: Use
SUBSTITUTE-KEYWORD-ARGUMENTS, inheriting and extending
unionfs-fuse's #:configure-flags and #:phases, and inheriting
its #:tests? #t.
---
gnu/packages/linux.scm | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 47229492d8..c2ab05ac5d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3901,21 +3901,19 @@ UnionFS-FUSE additionally supports copy-on-write.")
(string-append "target_link_libraries"
libs " dl)")))))))
(arguments
- (list
- #:tests? #f
- #:configure-flags
- #~(list "-DCMAKE_EXE_LINKER_FLAGS=-static")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'post-install
- (lambda _
- ;; By default, 'unionfs' keeps references to
- ;; $glibc/share/locale and similar stuff. Remove them.
- (remove-store-references (string-append #$output "/bin/unionfs"))
-
- ;; 'unionfsctl' has references to glibc as well. Since
- ;; we don't need it, remove it.
- (delete-file (string-append #$output "/bin/unionfsctl")))))))
+ (substitute-keyword-arguments (package-arguments unionfs-fuse)
+ ((#:configure-flags flags #~'())
+ #~(cons "-DCMAKE_EXE_LINKER_FLAGS=-static" #$flags))
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'install 'post-install
+ (lambda _
+ ;; By default, 'unionfs' keeps references to
+ ;; $glibc/share/locale and similar stuff. Remove them.
+ (remove-store-references (string-append #$output
"/bin/unionfs"))
+ ;; 'unionfsctl' has references to glibc as well. Since
+ ;; we don't need it, remove it.
+ (delete-file (string-append #$output "/bin/unionfsctl"))))))))
(inputs (list fuse-static))))
(define-public sshfs
- 29/31: gnu: unionfs-fuse-static: Update package style., (continued)
- 29/31: gnu: unionfs-fuse-static: Update package style., guix-commits, 2023/07/29
- 20/31: gnu: python-llfuse: Update to 1.4.4., guix-commits, 2023/07/29
- 15/31: gnu: python-psycopg2: Update to 2.9.6., guix-commits, 2023/07/29
- 23/31: gnu: rewritefs: Use G-expressions., guix-commits, 2023/07/29
- 13/31: gnu: postgresql@13: Update to 13.11., guix-commits, 2023/07/29
- 09/31: gnu: btrfs-progs: Update to 6.3.3., guix-commits, 2023/07/29
- 18/31: gnu: knot: Update to 3.2.9., guix-commits, 2023/07/29
- 11/31: gnu: apfs-fuse: Update to 0.0.0-2.66b86bd., guix-commits, 2023/07/29
- 17/31: gnu: parted: Update to 3.6., guix-commits, 2023/07/29
- 14/31: gnu: postgresql@11: Update to 11.20., guix-commits, 2023/07/29
- 30/31: gnu: unionfs-fuse-static: Run tests.,
guix-commits <=
- 04/31: gnu: perl-db-file: Update to 1.858., guix-commits, 2023/07/29
- 27/31: gnu: unionfs-fuse: Update to 3.3., guix-commits, 2023/07/29
- 12/31: gnu: postgresql: Update to 15.3., guix-commits, 2023/07/29
- 16/31: gnu: diffoscope: Update to 246., guix-commits, 2023/07/29
- 28/31: gnu: unionfs-fuse: Use G-expressions., guix-commits, 2023/07/29