Commit graph

346 commits

Author SHA1 Message Date
dependabot[bot] a8b53b6060
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#731)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 20 to 21.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v20...v21)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 00:19:27 +01:00
Zebreus b8edfd2364
Improve dark theme (#733)
* Fix unreadable hovered link color in dark theme

* Tone down text color

* Make search result titles look like links

* Tone down search result title color

* Give the dark theme headerbar a distinct color

* Adjust background color for sort dropdown
2024-03-07 00:18:56 +01:00
Ryan Mulligan e268f57ec7
add COPYING license under MIT (#723) 2024-03-06 14:34:04 +13:00
dependabot[bot] a740e60705
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#683)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 23:48:34 +01:00
dependabot[bot] f5111e7d6c
Dependabot(deps): Bump nwtgck/actions-netlify from 2.0 to 2.1 (#681)
Bumps [nwtgck/actions-netlify](https://github.com/nwtgck/actions-netlify) from 2.0 to 2.1.
- [Release notes](https://github.com/nwtgck/actions-netlify/releases)
- [Changelog](https://github.com/nwtgck/actions-netlify/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/nwtgck/actions-netlify/compare/v2.0...v2.1)

---
updated-dependencies:
- dependency-name: nwtgck/actions-netlify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 23:48:20 +01:00
dependabot[bot] c8e9c56540
Dependabot(deps): Bump cachix/install-nix-action from 23 to 25 (#714)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2024-03-04 23:34:20 +01:00
Martin Weinelt 27a5fcd79f
Update infra repo reference (#724)
cc https://github.com/NixOS/infra/issues/359

Co-authored-by: Rok Garbas <rok@floxdev.com>
2024-03-04 23:31:12 +01:00
Zebreus ff62e2b296
Add dark theme (#730) 2024-03-04 23:30:47 +01:00
figsoda 744ec58e08
Bump nixos-org-configurations for the 23.11 release (#707) 2023-12-01 10:35:30 -05:00
figsoda 211ce1d185
Bump nixos-org-configurations for the 23.11 beta (#705) 2023-11-29 10:09:43 -05:00
dependabot[bot] 00f61f52ae
Dependabot(deps): Bump cachix/install-nix-action from 22 to 23 (#686)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 10:32:53 +02:00
dependabot[bot] da049b0a36
Dependabot(deps): Bump actions/checkout from 3 to 4 (#685)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 10:32:25 +02:00
Adrien Navratil 1686838da9
Remove remaining usages of NIXPKGS_PANDOC_FILTERS_PATH (#679) 2023-08-18 17:30:24 +02:00
Naïm Favier 1128c8fb69
Bundle pandoc filters (#670)
Continuation of https://github.com/NixOS/nixos-search/pull/669
2023-07-03 22:03:00 +02:00
Naïm Favier 67bac7fe6d
Bundle link-manpages.nix (#669)
It's being removed from nixpkgs as part of the dedocbookification
process. Eventually we'll want to use nixos-render-docs to render
options.
2023-07-03 20:29:32 +02:00
Naïm Favier f11e857671
Revert most of "flake.lock: Update (#648)"
This partially reverts commit afa40a038d,
but keeps the nixos-org-configurations around.

nodejs 14 is EOL and npmlock2nix is pinning it.
2023-07-03 19:46:32 +02:00
github-actions[bot] afa40a038d
flake.lock: Update (#648)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
  → 'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25)
• Added input 'flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/acc635f7453b76ac1b7bdf164a3f22e5267ff329' (2023-05-31)
  → 'github:NixOS/nixos-org-configurations/083c137b7ae19a1a8d6822fea7ca30aeeda72ac8' (2023-07-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2' (2023-03-30)
  → 'github:NixOS/nixpkgs/645ff62e09d294a30de823cb568e9c6d68e92606' (2023-07-01)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-03 15:10:28 +02:00
Naïm Favier f31c2a395e
Render descriptions as Markdown (#667)
* Render descriptions as Markdown

Following https://github.com/NixOS/nixpkgs/pull/237557, DocBook
descriptions are not supported any more.

We cannot use options.json any more because it still has DocBook
descriptions in 22.11, so read the options from the modules directly.

* Bump VERSION
2023-06-28 17:44:44 +02:00
dependabot[bot] b5acb880d1
Dependabot(deps): Bump cachix/install-nix-action from 20 to 22 (#664)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 10:43:37 +02:00
Naïm Favier d8a2c52c64
frontend: fixup for empty queries 2023-06-11 13:06:27 +02:00
Naïm Favier c98b1e3685
frontend: show query in title (#662)
Fixes https://github.com/NixOS/nixos-search/issues/661
2023-06-11 13:02:41 +02:00
Naïm Favier 7ef651230b
Bump nixos-org-configurations for 23.05 release (#659) 2023-06-01 00:39:47 +02:00
Naïm Favier c4a21127f5
Bump nixos-org-configurations for 23.05 beta (#657) 2023-05-23 15:03:19 +02:00
Naïm Favier dff23cf9c6
IPv6. (#656)
Bonsai doesn't support IPv6, so use Netlify as a proxy.
2023-05-21 17:24:43 +02:00
Naïm Favier e6ea2208c7
.github: remove deprecated set-output command (#655)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-05-10 19:46:01 +02:00
Marco Daniel Martins 0498effc41
Cleanup unused frontend code (#653)
* frontend: remove unnecessary imports & js files

* frontend: cleanup code with elm-review - remove unused code

* frontend: remove duplicate viewport
2023-05-04 14:51:19 +02:00
Marco Daniel Martins 0d663f27fa
Accessibility fixes (#651)
* frontend: fix critical accessibility issues, logo alt and language

* frontend: use buttons for pagination, override bootstrap for accessibility

* frontend: heading elements in sequential order

* frontend: override badge contrast ratio

* frontend: fix import

* frontend: fixup

---------

Co-authored-by: Naïm Favier <n@monade.li>
2023-04-27 21:43:27 +02:00
Marco Daniel Martins 1ecb696edd
Improve search results with underscore and dash/hyphen package names (#649)
* Create underscore & dash separated variants for wildcard search

* frontend: simplify list uniqueness

---------

Co-authored-by: Naïm Favier <n@monade.li>
2023-04-25 17:07:49 +02:00
dependabot[bot] eb2910bffa
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#645)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 18 to 19.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v18...v19)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 22:40:07 +02:00
github-actions[bot] b1bf285102
flake.lock: Update (#640)
Flake lock file updates:

• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/48c9b1cff22edd2a7342eb0ff7034dcad3d99e38' (2023-03-16)
  → 'github:NixOS/nixos-org-configurations/72adc59c5ba946c3d4844a920e9beefae12bbd49' (2023-03-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ac718d02867a84b42522a0ece52d841188208f2c' (2023-03-15)
  → 'github:NixOS/nixpkgs/e3652e0735fbec227f342712f180f4f21f0594f2' (2023-03-30)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2023-04-05 08:56:48 +02:00
dependabot[bot] ed1731f579
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#638)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 17 to 18.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v17...v18)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2023-04-04 23:19:44 +02:00
Aroun 95f0433225
Follow title convention for package requests (#639) 2023-03-30 00:48:37 +02:00
github-actions[bot] af6a59015c
flake.lock: Update (#606)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
  → 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/3ce43a1fb5181a0e33b1f67d36fa0f3affa6bc6c' (2023-01-24)
  → 'github:NixOS/nixos-org-configurations/48c9b1cff22edd2a7342eb0ff7034dcad3d99e38' (2023-03-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c07552f6f7d4eead7806645ec03f7f1eb71ba6bd' (2023-01-10)
  → 'github:NixOS/nixpkgs/ac718d02867a84b42522a0ece52d841188208f2c' (2023-03-15)
• Updated input 'npmlock2nix':
    'github:nix-community/npmlock2nix/eeed152290ec2425f96c5e74e469c40b621e1468' (2022-10-22)
  → 'github:nix-community/npmlock2nix/9197bbf397d76059a76310523d45df10d2e4ca81' (2023-01-11)

* use v1 api

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@floxdev.com>
2023-03-27 09:01:04 +02:00
dependabot[bot] f4061cbf2c
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#633)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 16 to 17.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v16...v17)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 11:32:26 +01:00
Naïm Favier b78a16e925
.github: bump install-nix-action (#631)
The new release addresses the issue with Nix 2.14.

https://github.com/cachix/install-nix-action/releases/tag/v20
2023-03-01 10:20:50 +01:00
Naïm Favier 218c6dc78a
.github: pin nix 2.13 (#630)
2.14 has a bug related to profile locations that breaks nix-env, which
in turn breaks cachix. Pin to 2.13 for now.

More info at https://github.com/NixOS/nixpkgs/pull/218858#issuecomment-1448758169
2023-02-28 21:55:43 +01:00
Naïm Favier 496623d4f9
flake-info: don't render definition lists (#627)
* flake-info: don't render definition lists

Nothing uses them in nixpkgs and they mess up descriptions that have a
line starting with a tilde.

* Bump VERSION
2023-02-22 14:28:44 +01:00
Naïm Favier a1261dde1e
Bump VERSION 2023-02-22 10:28:45 +01:00
Naïm Favier 8ee65d2509
Bump VERSION (#623)
The current 22.11 index is missing some options for reasons unclear,
let's see if this fixes it.
2023-02-21 23:12:24 +01:00
Naïm Favier e5a15ec2e3
Auto-link bare URIs in MarkDown (#621) 2023-02-16 10:53:47 +01:00
Valentin Gagarin 3a42ce9545
move programs to the top of the metadata display (#620)
* move programs to the top of the metadata display

rename to "programs provided", since where they are provided
is an implementation detail irrelevant to users of `nix-shell -p`.

* Fix CSS

---------

Co-authored-by: Naïm Favier <n@monade.li>
2023-02-16 10:18:09 +01:00
Valentin Gagarin ad5fab6ce5
refine the warning on using nix-env (#619)
* refine the warning on using `nix-env`

also highlight the command name

* Format

---------

Co-authored-by: Naïm Favier <n@monade.li>
2023-02-16 10:00:06 +01:00
Naïm Favier bba9a1d44b
Fix fix-xrefs.lua's empty link detection (#618)
* Fix `fix-xrefs.lua`'s empty link detection

Since we now go directly from Markdown to HTML, Pandoc sees actually
empty links instead of `???`.

* Bump VERSION
2023-02-15 15:25:29 +01:00
dependabot[bot] 4f3a0fdad1
Dependabot(deps): Bump nwtgck/actions-netlify from 1.2 to 2.0 (#581)
Bumps [nwtgck/actions-netlify](https://github.com/nwtgck/actions-netlify) from 1.2 to 2.0.
- [Release notes](https://github.com/nwtgck/actions-netlify/releases)
- [Changelog](https://github.com/nwtgck/actions-netlify/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/nwtgck/actions-netlify/compare/v1.2...v2.0)

---
updated-dependencies:
- dependency-name: nwtgck/actions-netlify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2023-02-07 16:33:14 +01:00
dependabot[bot] 011371240a
Dependabot(deps): Bump cachix/install-nix-action from 18 to 19 (#616)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 16:32:23 +01:00
Naïm Favier 727c84003e
Open issue on failing import (#605) 2023-02-07 16:32:04 +01:00
Naïm Favier dff4ba7132
Search programs provided by a package (#610)
* Search programs provided by a package

Use the `programs.sqlite` database provided with nixpkgs channels to
populate a `package_programs` field so that searches for e.g. `make` return
`gnumake` with a higher priority.

* Bump VERSION

* frontend: show programs
2023-02-07 16:31:17 +01:00
Naïm Favier 32097fc62e
flake-info: abort early if index exists (#609)
Make the exports lazy using a closure, so that we can abort early if
the index exists before doing the expensive work.

Raise an error if neither `--json` nor `--push` is specified.

Flakes are staying strict for now because determining the index name is
too tightly coupled with the actual exports.
2023-02-07 16:30:51 +01:00
Naïm Favier eb9fa64c33
flake-info: render longDescription for flake packages (#607) 2023-02-05 10:24:26 +01:00
Corentin Rondier 188d618859
Adds Hyprland (#608)
Add to the manual sources Hyprwm/Hyprland (https://github.com/hyprwm/Hyprland)
2023-01-31 17:20:25 +01:00