summaryrefslogtreecommitdiff
path: root/gnu/packages/password-utils.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2026-05-27 11:18:28 +0300
committerEfraim Flashner <efraim@flashner.co.il>2026-05-27 11:52:53 +0300
commit646ade357ad75b3c7194a9f155675f2fd2fb03b6 (patch)
tree1a7f6eb96a29c679fbb97190d946fa5d35f5f09c /gnu/packages/password-utils.scm
parent91c5e436f6b674749bff7e7800cf93da480e0182 (diff)
gnu: keepassxc: Don't use custom check phase.
* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add test-exclude keyword. Remove custom 'check phase. Change-Id: Id05c6ae14932c79e3df39ce926da57d0f62a0ca5
Diffstat (limited to 'gnu/packages/password-utils.scm')
-rw-r--r--gnu/packages/password-utils.scm18
1 files changed, 7 insertions, 11 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 81072f96d5e..e3dbe076bae 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -304,6 +304,12 @@ human.")
304 ruby-asciidoctor/minimal)) 304 ruby-asciidoctor/minimal))
305 #~'() 305 #~'()
306 #~(list "-DWITH_XC_DOCS=NO"))) 306 #~(list "-DWITH_XC_DOCS=NO")))
307 ;; Entries have recently become sorted per the locale, and
308 ;; causes testentrymodel to fail when using the C locale (see:
309 ;; https://github.com/keepassxreboot/keepassxc/issues/11813).
310 ;; testClip runs 'xclip', which hangs in the container,
311 ;; perhaps because it lacks a TTY.
312 #:test-exclude "testentrymodel|testcli"
307 #:phases 313 #:phases
308 #~(modify-phases %standard-phases 314 #~(modify-phases %standard-phases
309 (add-after 'unpack 'record-clipboard-programs 315 (add-after 'unpack 'record-clipboard-programs
@@ -327,17 +333,7 @@ human.")
327 "\")"))) 333 "\")")))
328 (substitute* "src/gui/Clipboard.cpp" 334 (substitute* "src/gui/Clipboard.cpp"
329 (("\"wl-copy\"") 335 (("\"wl-copy\"")
330 (format #f "~s" (search-input-file inputs "bin/wl-copy")))))) 336 (format #f "~s" (search-input-file inputs "bin/wl-copy")))))))))
331 (replace 'check
332 (lambda* (#:key tests? #:allow-other-keys)
333 (when tests?
334 ;; Entries have recently become sorted per the locale, and
335 ;; causes testentrymodel to fail when using the C locale (see:
336 ;; https://github.com/keepassxreboot/keepassxc/issues/11813).
337 ;; testClip runs 'xclip', which hangs in the container,
338 ;; perhaps because it lacks a TTY.
339 (invoke "ctest" "--exclude-regex"
340 "testentrymodel|testcli")))))))
341 (native-inputs 337 (native-inputs
342 (append 338 (append
343 (list qttools-5) 339 (list qttools-5)