mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: polyml: Fix build.
* gnu/packages/sml.scm (polyml)[inputs]: Add motif. [arguments]<#:phases>: Add phase patch-config-h. Change-Id: Ia1972b2d4b9792875da65c682d1049c1fc2722d6 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
fe7118239d
commit
9b912bb666
1 changed files with 7 additions and 1 deletions
|
|
@ -47,13 +47,19 @@
|
|||
"1s7lpnxg826r2lm2c81j9a61zwljy2ybkqwadjiwrfi0hmbczn89"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
(list gmp libffi libx11 libxt))
|
||||
(list gmp libffi libx11 libxt motif))
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
(list "--with-gmp"
|
||||
"--with-x")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-config-h
|
||||
(lambda _
|
||||
;; courtesy: https://github.com/NixOS/nixpkgs/pull/372200
|
||||
(call-with-port (open-file "config.h.in" "a")
|
||||
(lambda (out)
|
||||
(display "\n#define _Static_assert static_assert\n" out)))))
|
||||
(add-after 'build 'build-compiler
|
||||
(lambda* (#:key make-flags parallel-build? #:allow-other-keys)
|
||||
(define flags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue