Skip to content
Snippets Groups Projects
Commit 1456cff1 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu: unionfs-fuse/static: Remove store references from the executable.

* gnu/packages/linux.scm (unionfs-fuse/static)[arguments]: Add #:phases.
parent b53833b2
No related branches found
No related tags found
No related merge requests found
......@@ -1092,7 +1092,16 @@ (define-public unionfs-fuse/static
libs " dl)"))))))
(arguments
'(#:tests? #f
#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-static")))
#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-static")
#:phases (alist-cons-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)))
%standard-phases)))
(inputs `(("fuse" ,fuse-static)))))
(define-public sshfs-fuse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment