gnu: sqls: Fix build.

* gnu/packages/databases.scm (sqls): [arguments] <test-subdirs>: Exclude
"internal/handler" which requires database connection.

Change-Id: I470981f040d2a0dc08d91f1239bbb0eb5ee98b0f
This commit is contained in:
Sharlatan Hellseher 2024-12-21 22:50:49 +00:00
parent 771ad6bbf3
commit 64fdc5c31b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5848,7 +5848,17 @@ (define-public sqls
(arguments
(list
#:install-source? #f
#:import-path "github.com/lighttiger2505/sqls"))
#:import-path "github.com/lighttiger2505/sqls"
;; XXX: Try to enable more or all tests.
#:test-subdirs #~(list "ast/..."
"dialect/..."
"parser/..."
"internal/completer"
"internal/config/..."
"internal/database"
"internal/debug"
"internal/formatter"
"internal/lsp")))
(native-inputs
(list go-github-com-google-go-cmp
go-github-com-go-sql-driver-mysql