aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2023-02-24 15:15:25 +0100
committer宋文武 <iyzsong@member.fsf.org>2023-03-02 11:14:06 +0800
commitad82d834f63aa24199d67a060864c1a620c3a6e1 (patch)
treea9c5f175ab0428da8b8cbebc64d94beae02be54e
parent66e677f58eea6db97eeb14b08c2a9feb74f1d220 (diff)
downloadguix-ad82d834f63aa24199d67a060864c1a620c3a6e1.tar.gz
guix-ad82d834f63aa24199d67a060864c1a620c3a6e1.zip
gnu: dos2unix: Use new package style.
* gnu/packages/textutils.scm (dos2unix)[arguments]: Use gexps. [native-inputs]: Drop labels. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/textutils.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 9efcda688b..e5d3a0efc0 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -89,15 +89,14 @@
(base32 "0vj3wix17vl7a85hg673qqyrhw9sbq0xiadbbij7v0nm1gdl3a18"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags
- (list (string-append "CC=" ,(cc-for-target))
- (string-append "prefix=" (assoc-ref %outputs "out")))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)))) ; no configure script
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "prefix=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
(native-inputs
- `(("gettext" ,gettext-minimal)
- ("perl" ,perl)))
+ (list gettext-minimal perl))
(home-page "https://waterlan.home.xs4all.nl/dos2unix.html")
(synopsis "DOS/Mac to Unix and vice versa text file format converter")
(description