diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-05 23:57:30 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-06 00:44:39 +0100 |
commit | a59bfcfc901d4bc0c485155a6967b6d6a638e3ad (patch) | |
tree | 55ff51e8c88cdaa78d4d783ac97f3cbe83cd1518 | |
parent | 0c5193a454facd7fe7acb1f3718f1f1a995803cf (diff) |
gnu: python-graph-tool: Use G-expressions.
* gnu/packages/graph.scm (python-graph-tool): Apply G-expressions.
[arguments]: Drop import of SITE-PACKAGES procedure from
python-build-system by replacing it with equivalent construction.
Change-Id: Ia2e4263ef08858fc910bf5142379978fa70ae664
-rw-r--r-- | gnu/packages/graph.scm | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index f3fdd15433..2549889a11 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -826,17 +826,14 @@ transformed into common image formats for display or printing.") "1bmck5fcihj9lr5kd8x624bdi9xhfc13pl4mwzv74jr5lz07kr6d")))) (build-system gnu-build-system) (arguments - `(#:imported-modules (,@%default-gnu-imported-modules - (guix build python-build-system)) - #:modules (,@%default-gnu-modules - ((guix build python-build-system) #:select (site-packages))) - ;; The build process peaks around 4GB/RAM per core. - #:parallel-build? #f - #:configure-flags - (list (string-append "--with-boost=" - (assoc-ref %build-inputs "boost")) - (string-append "--with-python-module-path=" - (site-packages %build-inputs %outputs))))) + (list + ;; The build process peaks around 4GB/RAM per core. + #:parallel-build? #f + #:configure-flags + #~(list (string-append "--with-boost=" #$(this-package-input "boost")) + (string-append "--with-python-module-path=" #$output "/lib/python" + #$(version-major+minor (package-version python)) + "/site-packages")))) (native-inputs (list ncurses pkg-config)) (inputs |