mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: minizinc: Use gexps.
* gnu/packages/maths.scm (minizinc): Use gexps. Change-Id: I60a0d56b6d6ba33d96ca13b58355b5c213b0f6d2
This commit is contained in:
parent
fcf6d663e3
commit
8e5579f37c
1 changed files with 10 additions and 9 deletions
|
@ -4154,17 +4154,18 @@ (define-public minizinc
|
|||
#t))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no ‘check’ target
|
||||
#:modules ((guix build cmake-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1))
|
||||
(list
|
||||
#:tests? #f ; no ‘check’ target
|
||||
#:modules '((guix build cmake-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'install-solver-configs
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((chuffed (assoc-ref inputs "chuffed"))
|
||||
(gecode (assoc-ref inputs "gecode"))
|
||||
(pkgdatadir (string-append (assoc-ref outputs "out")
|
||||
(lambda _
|
||||
(let ((chuffed #$(this-package-input "chuffed"))
|
||||
(gecode #$(this-package-input "gecode"))
|
||||
(pkgdatadir (string-append #$output
|
||||
"/share/minizinc")))
|
||||
(call-with-output-file (string-append pkgdatadir
|
||||
"/Preferences.json")
|
||||
|
|
Loading…
Reference in a new issue