mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/nix: enable check()
This commit is contained in:
parent
428901d4be
commit
ba2a6004ec
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user