Skip to content

Commit 24f26e0

Browse files
committed
guix: use cmake-minimal for python-lief
This also fixes atleast one --no-substitues build failure I've seen, where cmake dependencies wouldn't build: ```bash The following derivations will be built: /gnu/store/7qqvqq2g7l5ylrjv0gn6zha565a12kar-python-lief-0.12.1.drv /gnu/store/f9zwh1ldy63ga0i5w6cbbqlj6sfq226j-cmake-3.21.4.drv /gnu/store/3wg6ya847id503m5izhzhn1qqs464lfk-python-sphinx-4.2.0.drv building /gnu/store/3wg6ya847id503m5izhzhn1qqs464lfk-python-sphinx-4.2.0.drv... / 'check' phasenote: keeping build directory `/tmp/guix-build-python-sphinx-4.2.0.drv-5' builder for `/gnu/store/3wg6ya847id503m5izhzhn1qqs464lfk-python-sphinx-4.2.0.drv' failed with exit code 1 build of /gnu/store/3wg6ya847id503m5izhzhn1qqs464lfk-python-sphinx-4.2.0.drv failed View build log at '/var/log/guix/drvs/3w/g6ya847id503m5izhzhn1qqs464lfk-python-sphinx-4.2.0.drv.gz'. cannot build derivation `/gnu/store/f9zwh1ldy63ga0i5w6cbbqlj6sfq226j-cmake-3.21.4.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/7qqvqq2g7l5ylrjv0gn6zha565a12kar-python-lief-0.12.1.drv': 1 dependencies couldn't be built guix environment: error: build of `/gnu/store/7qqvqq2g7l5ylrjv0gn6zha565a12kar-python-lief-0.12.1.drv' failed ```
1 parent 43d8173 commit 24f26e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/guix/manifest.scm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ chain for " target " development."))
210210

211211
;; Our python-lief package can be removed once we are using
212212
;; guix 83bfdb409787cb2737e68b093a319b247b7858e6 or later.
213+
;; Note we currently use cmake-minimal.
213214
(define-public python-lief
214215
(package
215216
(name "python-lief")
@@ -224,7 +225,7 @@ chain for " target " development."))
224225
(base32
225226
"11i6hqmcjh56y554kqhl61698n9v66j2qk1c1g63mv2w07h2z661"))))
226227
(build-system python-build-system)
227-
(native-inputs (list cmake))
228+
(native-inputs (list cmake-minimal))
228229
(arguments
229230
(list
230231
#:tests? #f ;needs network

0 commit comments

Comments
 (0)