Commit graph

333 commits

Author SHA1 Message Date
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
Massolari 95b7e40c55
Rename "Options" link to "NixOS Options" (#596)
Co-authored-by: Naïm Favier <n@monade.li>
Fixes https://github.com/NixOS/nixos-search/issues/426
2023-01-27 18:58:25 +01:00
Naïm Favier 651ef6fc62
flake-info: update manpage filter (#597)
Update the nixpkgs input and use the new link-manpages filter to avoid
duplicated links.

Co-authored-by: Rok Garbas <rok@garbas.si>
2023-01-27 18:50:29 +01:00
Naïm Favier a7ac1d8e8c
frontend: reset from and buckets when changing pages (#595)
Co-authored-by: Rok Garbas <rok@garbas.si>
2023-01-27 18:49:55 +01:00
Naïm Favier 25e8dbdb94
flake-info: remove broken NIXOS_CHANNELS check (#586)
Fixing it would be undesirable.

Co-authored-by: Rok Garbas <rok@garbas.si>
2023-01-27 18:49:26 +01:00
dependabot[bot] 19f4984615
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#600)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 15 to 16.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v15...v16)

---
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-01-27 18:45:37 +01:00
Naïm Favier 9e5ff1ceec
flake-info: support platform patterns (#602)
...for some value of "support". For now, just skip them without causing
an error. Later, maybe figure out a way to display them properly.

An example of a pattern is `lib.systems.inspect.patterns.isGnu`.

Co-authored-by: Rok Garbas <rok@garbas.si>
2023-01-27 18:37:52 +01:00
Martin Weinelt be9a717b80
flake.lock: Update nixos-org-configurations (#603) 2023-01-24 21:45:15 +01:00
Danila Danko 8f14293fc9
add nix-vscode-extensions (#601) 2023-01-23 19:28:39 +01:00
figsoda 7abecfe552
add fenix (#568) 2023-01-11 10:21:28 +01:00
sem pruijs 1d9fac3a57
Improve accessibility for screenreader users (#593)
Co-authored-by: Naïm Favier <n@monade.li>
2023-01-06 16:43:26 +01:00
MatthewCroughan 24bdbc97b3
flakes: add lnbits-legend (#510)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 14:50:07 +00:00
Naïm Favier d04f341a5d
Use path_hierarchy tokenizer for attr paths (#584) 2022-12-23 13:39:45 +01:00
Naïm Favier 4bea45b150
Remove reverse fields (#579) 2022-12-06 23:58:51 +01:00