gnu: qcint: Fix build.

* gnu/packages/chemistry.scm (qcint)[arguments]: Use G-expression.

Change-Id: I4e26a872b6e78a6ea96d16c661353063b8d3fcd6
This commit is contained in:
Zheng Junjie 2025-07-12 17:13:59 +08:00
parent 278a80f399
commit 464c3b6340
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -937,8 +937,8 @@ electromagnetic properties for molecules and crystals.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sunqm/qcint")
(commit (string-append "v" (package-version base)))))
(url "https://github.com/sunqm/qcint")
(commit (string-append "v" (package-version base)))))
(file-name (git-file-name name (package-version base)))
(sha256
(base32
@ -951,11 +951,11 @@ electromagnetic properties for molecules and crystals.")
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:configure-flags flags '())
`(cons "-DBUILD_MARCH_NATIVE=OFF"
,flags))
#~(cons "-DBUILD_MARCH_NATIVE=OFF"
#$flags))
((#:phases phases)
`(modify-phases ,phases
(delete 'adjust-build-path)))
#~(modify-phases #$phases
(delete 'adjust-build-path)))
;; Tests require python-pyscf.
((#:tests? _ #f) #f)))
(native-inputs