diff --git a/.github/workflows/nixos-search.yaml b/.github/workflows/nixos-search.yaml index cbd7aecb..1f91d585 100644 --- a/.github/workflows/nixos-search.yaml +++ b/.github/workflows/nixos-search.yaml @@ -15,7 +15,7 @@ jobs: VERSION_CONTENT=$(curl --silent "https://raw.githubusercontent.com/nixos/nixos-search/main/VERSION" | tr -d '[:space:]') # NOTE: this number and the version number in src/search.rs have # to be updated when nixos-search updates it's version number. - VERSION_NUMBER=43 + VERSION_NUMBER=44 echo "Found VERSION: $VERSION_CONTENT" diff --git a/src/search.rs b/src/search.rs index 1ac16b85..9eb0dbcf 100644 --- a/src/search.rs +++ b/src/search.rs @@ -133,7 +133,7 @@ impl SearchArgs { // this file and the corresponding workflow called // nixos-search.yaml have to be updated accordingly. .post(format!( - "https://search.nixos.org/backend/latest-43-{channel}/_search" + "https://search.nixos.org/backend/latest-44-{channel}/_search" )) .json(&query) .header("User-Agent", format!("nh/{}", crate::NH_VERSION))