Skip to content

Commit

Permalink
guix: fix package_native
Browse files Browse the repository at this point in the history
  • Loading branch information
ekaitz-zarraga committed Apr 22, 2024
1 parent d239a1a commit ba83f0f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion guix/package_native.scm
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@
(arguments
(list
#:tests? #f
#:strip-binaries? #f
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(call-with-output-file
"config.h"
(lambda (port)
(display "#define TCC_VERSION \"0.9.BOOT\" " port)))))
(replace 'build
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((libc (assoc-ref %build-inputs "libc"))
Expand Down

0 comments on commit ba83f0f

Please sign in to comment.