gnu: bmake: Switch to G-Exps.

* gnu/packages/build-tools.scm (bmake): Switch to G-Exps.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Josselin Poiret 2023-04-22 13:55:36 +02:00 committed by Andreas Enge
parent 058fd81400
commit e99009ad09
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -185,9 +185,10 @@ generate such a compilation database.")
(native-inputs (native-inputs
(list coreutils)) (list coreutils))
(arguments (arguments
`(#:tests? #f ; test during build (list
#:tests? #f ; test during build
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'configure 'fix-test ; fix from nixpkgs (add-after 'configure 'fix-test ; fix from nixpkgs
(lambda _ (lambda _
(substitute* "unit-tests/unexport-env.mk" (substitute* "unit-tests/unexport-env.mk"
@ -199,13 +200,13 @@ generate such a compilation database.")
(("cmd-interrupt") "") (("cmd-interrupt") "")
(("varmod-localtime") ""))))) (("varmod-localtime") "")))))
#:configure-flags #:configure-flags
(list #~(list
(string-append (string-append
"--with-defshell=" (assoc-ref %build-inputs "bash") "/bin/bash") "--with-defshell=" #$(this-package-input "bash-minimal") "/bin/bash")
(string-append (string-append
"--with-default-sys-path=" (assoc-ref %outputs "out") "/share/mk")) "--with-default-sys-path=" #$output "/share/mk"))
#:make-flags #:make-flags
(list "INSTALL=install"))) ;; use coreutils install #~(list "INSTALL=install"))) ;; use coreutils install
(home-page "http://www.crufty.net/help/sjg/bmake.htm") (home-page "http://www.crufty.net/help/sjg/bmake.htm")
(synopsis "BSD's make") (synopsis "BSD's make")
(description (description