mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
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.
This commit is contained in:
parent
76aa16ab61
commit
ee769c4638
1 changed files with 13 additions and 15 deletions
|
@ -3901,21 +3901,19 @@ (define-public unionfs-fuse/static
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue