Merge fort-nix/nix-bitcoin#547: tests: disable nixosSearch

7985e075e5 README: remove nixos-search (Erik Arvstedt)
c63da4734e tests: disable `nixosSearch` (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 7985e075e5

Tree-SHA512: 3f6781ee7d6d026c36029fde47f146629d7c4eb59428fb1c2a904e1a36c8b4236f4b96c604c05f30063051eba2b6b3d13ceac44104590be61944d175b3f20638
This commit is contained in:
Jonas Nick 2022-09-07 08:43:08 +00:00
commit 462c2541d7
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
3 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,6 @@ task:
- name: flake - name: flake
build_script: build_script:
- nix flake check - nix flake check
- ./test/nixos-search/ci-test.sh
- name: shellcheck - name: shellcheck
build_script: build_script:

View File

@ -53,8 +53,6 @@ Hint: To show a table of contents, click the button (![Github TOC button](docs/i
top left corner of the documents. top left corner of the documents.
<!-- TODO-EXTERNAL: --> <!-- TODO-EXTERNAL: -->
<!-- Change query to `nix-bitcoin` when upstream search has been fixed -->
* [NixOS options search](https://search.nixos.org/flakes?channel=unstable&sort=relevance&type=options&query=bitcoin)
* [Hardware requirements](docs/hardware.md) * [Hardware requirements](docs/hardware.md)
* [Installation](docs/install.md) * [Installation](docs/install.md)
* [Configuration and maintenance](docs/configuration.md) * [Configuration and maintenance](docs/configuration.md)

View File

@ -275,6 +275,11 @@ flake() {
# Test generating module documentation for search.nixos.org # Test generating module documentation for search.nixos.org
nixosSearch() { nixosSearch() {
# TODO-EXTERNAL:
# Remove this when nixos-search has been fixed
echo "Skipping test nixosSearch"
return
if ! checkFlakeSupport "nixosSearch"; then return; fi if ! checkFlakeSupport "nixosSearch"; then return; fi
if [[ $_nixBitcoinInCopiedSrc ]]; then if [[ $_nixBitcoinInCopiedSrc ]]; then