diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-04-10 21:09:23 +0200 |
|---|---|---|
| committer | Vagrant Cascadian <vagrant@debian.org> | 2026-08-21 16:44:33 -0700 |
| commit | 8420dd0683c3662a20891a21911d3a5c2588df76 (patch) | |
| tree | c3b180345c8cb705871f127cfca44aad3ebd38d9 /gnu/packages/linux.scm | |
| parent | 3d7f691be8d7716ffcd10076c52526a0ea21be2e (diff) | |
gnu: xfs_repair/static: Improve style.
* gnu/packages/linux.scm (xfs_repair/static): Run guix style.
[arguments]: Migrate to G-expressions.
[inputs]: Drop input labels.
Change-Id: If724a19df2ed855e766c9659149ffcf3bf332a6d
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Diffstat (limited to 'gnu/packages/linux.scm')
| -rw-r--r-- | gnu/packages/linux.scm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9e0b8d5e219..d71c2331351 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -11241,18 +11241,17 @@ file systems.") | |||
| 11241 | (source #f) | 11241 | (source #f) |
| 11242 | (build-system trivial-build-system) | 11242 | (build-system trivial-build-system) |
| 11243 | (arguments | 11243 | (arguments |
| 11244 | `(#:modules ((guix build utils)) | 11244 | (list |
| 11245 | #:builder | 11245 | #:modules `((guix build utils)) |
| 11246 | (begin | 11246 | #:builder |
| 11247 | (use-modules (guix build utils)) | 11247 | #~(begin |
| 11248 | (let* ((xfsprogs (assoc-ref %build-inputs "xfsprogs")) | 11248 | (use-modules (guix build utils)) |
| 11249 | (out (assoc-ref %outputs "out")) | 11249 | (let ((sbin (string-append #$output "/sbin"))) |
| 11250 | (sbin (string-append out "/sbin"))) | 11250 | (install-file (search-input-file %build-inputs "/sbin/xfs_repair") |
| 11251 | (install-file (string-append xfsprogs "/sbin/xfs_repair") sbin) | 11251 | sbin) |
| 11252 | (with-directory-excursion sbin | 11252 | (with-directory-excursion sbin |
| 11253 | (remove-store-references "xfs_repair")))))) | 11253 | (remove-store-references "xfs_repair")))))) |
| 11254 | (inputs | 11254 | (inputs (list xfsprogs/static)) |
| 11255 | `(("xfsprogs" ,xfsprogs/static))) | ||
| 11256 | (home-page (package-home-page xfsprogs/static)) | 11255 | (home-page (package-home-page xfsprogs/static)) |
| 11257 | (synopsis "Statically linked @command{xfs_repair} from xfsprogs") | 11256 | (synopsis "Statically linked @command{xfs_repair} from xfsprogs") |
| 11258 | (description | 11257 | (description |
