aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorpjotrp2026-03-23 08:48:26 +0100
committerpjotrp2026-03-23 08:48:26 +0100
commit63bf0db41159b613bbcf96646e496b417897da1e (patch)
treeeb5cd51b14e3db3688517e7c41fa902e2358a40c /gn
parent927ebfe9ed380f07520b8039fe4d1837baac1cf7 (diff)
downloadguix-bioinformatics-63bf0db41159b613bbcf96646e496b417897da1e.tar.gz
Fixes to build
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/bioinformatics.scm3
-rw-r--r--gn/packages/file-systems.scm1
-rw-r--r--gn/packages/maths.scm4
3 files changed, 8 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index af7724d..6688084 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -221,6 +221,8 @@ Canu's consensus module.")
(substitute* "makefile"
(("-Icxxopts/include") (string-append "-I" cxxopts))
(("-Iconcurrentqueue") (string-append "-I" concurrentqueue))
+ ;; Fix missing cstdint with newer GCC.
+ (("CPPFLAGS=") "CPPFLAGS=-include cstdint ")
;; No need to build statically.
(("-Wl,-Bstatic") "")
(("-static-libstdc\\+\\+") "")))))
@@ -545,6 +547,7 @@ format.")
(build-system gnu-build-system)
(arguments
(list #:tests? #f
+ #:make-flags #~(list "CXXFLAGS=-include linux/types.h")
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
diff --git a/gn/packages/file-systems.scm b/gn/packages/file-systems.scm
index 9c5cd04..dbf79c3 100644
--- a/gn/packages/file-systems.scm
+++ b/gn/packages/file-systems.scm
@@ -5,6 +5,7 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python))
diff --git a/gn/packages/maths.scm b/gn/packages/maths.scm
index acbf69d..865e053 100644
--- a/gn/packages/maths.scm
+++ b/gn/packages/maths.scm
@@ -99,6 +99,7 @@
((#:tests? _ #t) #f)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
+ (delete 'move-static-library)
(add-after 'install 'remove-extra-files
(lambda _
(delete-file-recursively (string-append #$output "/bin"))
@@ -124,6 +125,7 @@
((#:tests? _ #t) #f)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
+ (delete 'move-static-library)
(add-after 'install 'remove-extra-files
(lambda _
(delete-file-recursively (string-append #$output "/bin"))
@@ -150,6 +152,7 @@
((#:tests? _ #t) #f)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
+ (delete 'move-static-library)
(add-after 'install 'remove-extra-files
(lambda _
(delete-file-recursively (string-append #$output "/bin"))
@@ -167,6 +170,7 @@
(substitute-keyword-arguments (package-arguments gsl)
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
+ (delete 'move-static-library)
(add-after 'install 'install-optimized-libraries
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((hwcaps "/lib/glibc-hwcaps"))