From ef48386826dc2ae68ff2a13f284213f662613f26 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Tue, 16 Sep 2025 15:36:03 +0200 Subject: [PATCH] gnu: makepasswd: Improve style. * gnu/packages/password-utils.scm (makepasswd)[arguments]: Use G-Expressions. Change-Id: I675ec63c33d53718553b21ba5f1b66587d656cf9 Signed-off-by: Liliana Marie Prikler --- gnu/packages/password-utils.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 5f53e5048807ea1e51798d01becb49b4b320c540..6bd88fadaae3ac224cd5db1bc4d14c07b78f7d74 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -1909,12 +1909,14 @@ try every password contained in a file.") (inputs (list libxcrypt openssl)) (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'configure)) - #:make-flags (list "CC=gcc" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f)) ;no tests + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure)) + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:tests? #f)) ;no tests (synopsis "Generate (pseudo-)random passwords and hashes") (description "Makepasswd is a program that generates pseudo-random passwords of a