From 7334aa05c9525b0d3c88b95097acc37495793877 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Wed, 11 Jun 2025 21:00:05 +0300 Subject: [PATCH] gnu: wakelan: Modernize the package. * gnu/packages/admin.scm (wakelan): Modernize the package. Change-Id: I3e568808e76f6b0e31a2f85b3bb1ad9cc1a2cabc --- gnu/packages/admin.scm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2486611a28dabc32627b43701dd1e1569884013d..90f21487e11ecf284281dbd3da1be344f86de9ab 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2786,22 +2786,23 @@ authentication server.") "0vydqpf44146ir6k87gmqaq6xy66xhc1gkr3nsd7jj3nhy7ypx9x")))) (build-system gnu-build-system) (arguments - '(#:phases - (modify-phases %standard-phases + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (mkdir-p (string-append out "/bin")) - (mkdir-p (string-append out "/share/man/man1")) - - ;; It's an old configure script that doesn't understand - ;; the extra options we pass. - (setenv "CONFIG_SHELL" (which "bash")) - (invoke "./configure" - (string-append "--prefix=" out) - (string-append "--mandir=" out - "/share/man")))))) - #:tests? #f)) + (lambda* (#:key inputs #:allow-other-keys) + (mkdir-p (string-append #$output "/bin")) + (mkdir-p (string-append #$output "/share/man/man1")) + + ;; It's an old configure script that doesn't understand + ;; the extra options we pass. + (setenv "CONFIG_SHELL" + (search-input-file %build-inputs "bin/bash")) + (invoke "./configure" + (string-append "--prefix=" #$output) + (string-append "--mandir=" #$output + "/share/man"))))))) (home-page "https://www.kernel.org") ; really, no home page (synopsis "Send a wake-on-LAN packet") (description