Commit graph

308 commits

Author SHA1 Message Date
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
Naïm Favier 3a12920489
Take meta.badPlatforms into account (#580) 2022-12-06 23:30:58 +01:00
Naïm Favier 66162e9896
Give more license to the license field (#572) 2022-12-02 13:46:35 +01:00
dependabot[bot] a4cac24aee
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#575)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 14 to 15.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v14...v15)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 17:33:05 +01:00
Martin Weinelt 7b2814c1d2
Promote NixOS 22.11 to stable (#576) 2022-12-01 12:43:02 +01:00
Martin Weinelt 853fd5c0c8
Add NixOS 22.11 by updating nixos-org-configurations (#573) 2022-11-23 12:39:19 +01:00
MatthewCroughan f249d4964e
Add filestash-nix to the flakes index (#547) 2022-11-09 00:43:57 +01:00
github-actions[bot] 68471fff69
flake.lock: Update (#565)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d40fea9aeb8840fea0d377baa4b38e39b9582458' (2022-10-31)
  → 'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2022-11-07 13:22:45 +01:00
Skyler ec8846f2a9
Replace PolyMC with PrismLauncher in the index (#566) 2022-11-06 10:10:31 +01:00
Naïm Favier 9a20bad5e1
Make wildcard search case-insensitive (#559)
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html#wildcard-query-field-params
2022-11-04 13:27:13 +01:00
Naïm Favier cf23c13a17
Make search query default to show if given (#561)
This allows for shorter permalinks for displaying a given package.
2022-11-04 13:22:52 +01:00
Naïm Favier 5bbe885b62
Do not restore from and size from the previous model (#562) 2022-11-04 12:06:19 +01:00
Rok Garbas 515d60601b
Fix netlify problem introduces in #532 (#557) 2022-11-03 23:44:19 +01:00
github-actions[bot] 84ce7fdf52
Update npm dependencies (also flake.lock: Update) (#532)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
  → 'github:numtide/flake-utils/6ee9ebb6b1ee695d2cacc4faa053a7b9baa76817' (2022-10-29)
• Updated input 'nixos-org-configurations':
    'github:NixOS/nixos-org-configurations/569797100aac69780a12542c2143bb741380d4ec' (2022-08-17)
  → 'github:NixOS/nixos-org-configurations/cebfd15c30724cadacf85b5fd950dc1070c4eb7d' (2022-10-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f3d0897be466aa09a37f6bf59e62c360c3f9a6cc' (2022-08-25)
  → 'github:NixOS/nixpkgs/448a599c49978c2794401bfc3a2e1fba1a8663be' (2022-10-28)

* Switch from yarn to npm for frontend

also update all the npm dependencies

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rok Garbas <rok@garbas.si>
2022-11-03 22:26:58 +01:00
Rok Garbas 4bc2ea9d05
Switch to new cluster with elasticsearch 7.10 (#556) 2022-11-03 10:56:05 +01:00
dependabot[bot] 0303a81431
Dependabot(deps): Bump DeterminateSystems/update-flake-lock (#541)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 10 to 14.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v10...v14)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 15:22:37 +01:00
dependabot[bot] 22fc398e42
Dependabot(deps): Bump cachix/install-nix-action from 17 to 18 (#545)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 15:22:13 +01:00
Naïm Favier 474dbedd9b
Make wildcard search respect case (#538) 2022-11-02 15:21:49 +01:00
Naïm Favier 68f773854d
.github: fix action.yml escaping (#555) 2022-10-29 23:21:53 +02:00
Naïm Favier e3ade32b1a
.github: re-add access token (#553)
Co-authored-by: Yannik Sander <me@ysndr.de>
2022-10-29 22:58:44 +02:00
Naïm Favier ba0b05b998
Render Markdown in option docs for flakes and longDescription (#539) 2022-10-28 15:49:15 +02:00
Astro e7ceafb0d4
Add microvm.nix to the flakes index (#500)
Co-authored-by: Naïm Favier <n@monade.li>
2022-09-08 18:09:05 +02:00
Naïm Favier 4776108b4b
Allow modulesPath in NixOS modules (#536) 2022-09-08 16:29:53 +02:00
Naïm Favier 9e64e2f6c3
Ignore _module options for flakes (#528)
Having the documentation for `_module.args` in the nixpkgs options is useful,
but there's no need to have a copy of it per flake module.
2022-09-08 10:45:01 +02:00
Yannik Sander 7d1c1046ba
Allow elastic feature to be disabled (#529) 2022-08-30 10:13:08 +02:00
Naïm Favier b8518f6d48
flake-info: fix compilation warnings (#503)
Removes some dead code, including the unimplemented `--elastic-user`,
`--elastic-pw` and `--gc` flags. Builds and tests with no warnings.
2022-08-29 17:17:29 +02:00