Skip to content
Snippets Groups Projects
Commit ba2a6004 authored by Sören Tempel's avatar Sören Tempel Committed by Sören Tempel
Browse files

testing/nix: enable check()

parent 428901d4
No related branches found
No related tags found
1 merge request!60218testing/nix: enable check()
Pipeline #211895 skipped
......@@ -40,6 +40,7 @@ makedepends="
mdbook
nlohmann-json
openssl-dev
rapidcheck-dev
sqlite-dev
xz
xz-dev
......@@ -55,12 +56,6 @@ subpackages="
$pkgname-fish-completion
$pkgname-zsh-completion
"
# TODO: Tests require rapidcheck which is a poorly maintained C++
# library without tagged releases, versioned sonames, and more.
# Hence, we really don't want to package it right now just for nix.
#
# See: https://github.com/emil-e/rapidcheck/issues/255
options="!check"
source="https://github.com/NixOS/nix/archive/$pkgver/nix-$pkgver.tar.gz
0001-absPath-Explicitly-check-if-path-is-empty-before-acc.patch
README.alpine
......@@ -89,8 +84,7 @@ build() {
--localstatedir=/nix/var \
--with-sandbox-shell=/bin/busybox.static \
--enable-embedded-sandbox-shell \
--enable-gc \
--disable-unit-tests
--enable-gc
make
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment