[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/31: gnu: unionfs-fuse-static: Update package style.
From: |
guix-commits |
Subject: |
29/31: gnu: unionfs-fuse-static: Update package style. |
Date: |
Sat, 29 Jul 2023 20:05:01 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 76aa16ab61e10bd82fa2e4b42e0fb6a672dc6887
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 23 02:00:00 2023 +0200
gnu: unionfs-fuse-static: Update package style.
* gnu/packages/linux.scm (unionfs-fuse/static)[source]:
Rewrite snippet as a G-expression.
[arguments]: Likewise. Don't explicitly return #t from phases.
[inputs]: Remove input labels.
---
gnu/packages/linux.scm | 54 +++++++++++++++++++++++++-------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 88ee1eafc4..47229492d8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3889,34 +3889,34 @@ UnionFS-FUSE additionally supports copy-on-write.")
(package (inherit unionfs-fuse)
(synopsis "User-space union file system (statically linked)")
(name (string-append (package-name unionfs-fuse) "-static"))
- (source (origin (inherit (package-source unionfs-fuse))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; Add -ldl to the libraries, because libfuse.a needs that.
- (substitute* "src/CMakeLists.txt"
- (("target_link_libraries(.*)\\)" _ libs)
- (string-append "target_link_libraries"
- libs " dl)")))
- #t))))
+ (source
+ (origin
+ (inherit (package-source unionfs-fuse))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Add -ldl to the libraries, because libfuse.a needs that.
+ (substitute* "src/CMakeLists.txt"
+ (("target_link_libraries(.*)\\)" _ libs)
+ (string-append "target_link_libraries"
+ libs " dl)")))))))
(arguments
- '(#:tests? #f
- #:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-static")
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'post-install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (exe (string-append out "/bin/unionfs")))
- ;; By default, 'unionfs' keeps references to
- ;; $glibc/share/locale and similar stuff. Remove them.
- (remove-store-references exe)
-
- ;; 'unionfsctl' has references to glibc as well. Since
- ;; we don't need it, remove it.
- (delete-file (string-append out "/bin/unionfsctl"))
- #t))))))
- (inputs `(("fuse" ,fuse-static)))))
+ (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")))))))
+ (inputs (list fuse-static))))
(define-public sshfs
(package
- 07/31: gnu: bmake: Update to 20230723., (continued)
- 07/31: gnu: bmake: Update to 20230723., guix-commits, 2023/07/29
- 08/31: gnu: bindfs: Update to 1.17.4., guix-commits, 2023/07/29
- 19/31: gnu: font-sarasa-gothic: Update to 0.41.4., guix-commits, 2023/07/29
- 25/31: gnu: lxcfs: Use G-expressions., guix-commits, 2023/07/29
- 22/31: gnu: rewritefs: Update to 0.0.0-1.3a56de8., guix-commits, 2023/07/29
- 31/31: gnu: fuse@2, fuse@3: Reverse inheritance., guix-commits, 2023/07/29
- 03/31: gnu: curlftpfs: Add patches to fix bugs., guix-commits, 2023/07/29
- 10/31: gnu: fuse@3: Bind to default FUSE variable., guix-commits, 2023/07/29
- 21/31: gnu: jmtpfs: Mark up description., guix-commits, 2023/07/29
- 26/31: gnu: lxcfs: Update to 5.0.4., guix-commits, 2023/07/29
- 29/31: gnu: unionfs-fuse-static: Update package style.,
guix-commits <=
- 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, 2023/07/29