gnu: snapper: Update to 0.12.1.

* gnu/packages/file-systems.scm (snapper): Update to 0.12.1.
[#:phases]<relative-file-locations>: Update to patch more files.

Change-Id: I6ee16a4fca78a26a7c41e29f53c22ac51912e095
This commit is contained in:
Ashish SHUKLA 2025-01-19 10:24:08 +00:00 committed by Zheng Junjie
parent 1de27b5976
commit 73ed87b167
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -1356,7 +1356,7 @@ APFS.")
(define-public snapper
(package
(name "snapper")
(version "0.10.7")
(version "0.12.1")
(source
(origin
(method git-fetch)
@ -1365,7 +1365,7 @@ APFS.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0nwmyzjwid1lf29dsr6w72dr781c81xyrjpk5y3scn4r55b5df0h"))
(base32 "1i5623cnhzivf64zr0g1nlyn9sjgabhyawhpsffykdxvcrnyqn69"))
(modules '((guix build utils)))
(snippet
'(begin
@ -1382,8 +1382,10 @@ APFS.")
(add-after 'unpack 'relative-file-locations
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(substitute* (list "scripts/Makefile.am"
"data/Makefile.am")
(substitute* '("scripts/Makefile.am"
"client/systemd-helper/Makefile.am"
"client/installation-helper/Makefile.am"
"data/Makefile.am")
(("/usr/share")
(string-append out "/share"))
(("/usr/lib")