Commit Graph

78 Commits

Author SHA1 Message Date
Artturin
59a88b9b86 flake instruction 2023-06-06 21:59:16 +03:00
Artturi
50721a195e
Merge pull request #52 from nix-community/dependabot/github_actions/cachix/install-nix-action-21
Bump cachix/install-nix-action from 20 to 21
2023-06-06 21:50:51 +03:00
dependabot[bot]
720b2687fa
Bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
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>
2023-05-29 11:58:24 +00:00
Artturin
ef97634016 v1.6.0 2023-04-06 01:20:15 +03:00
Artturin
17d34d6e4a update deps 2023-04-06 01:19:05 +03:00
Artturin
61b93bb529 add cargo-edit
for cargo upgrade
2023-04-06 01:15:12 +03:00
Artturin
6903658626 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-compat':
    'github:edolstra/flake-compat/b4a34015c698c7793d592d66adbab377907a2be8' (2022-04-19)
  → 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Updated input 'naersk':
    'github:nix-community/naersk/6944160c19cb591eb85bbf9b2f2768a935623ed3' (2022-09-03)
  → 'github:nix-community/naersk/88cd22380154a2c36799fe8098888f0f59861a15' (2023-03-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2277e4c9010b0f27585eb0bed0a86d7cbc079354' (2022-09-15)
  → 'github:NixOS/nixpkgs/4a65e9f64e53fdca6eed31adba836717a11247d2' (2023-04-05)
• Updated input 'utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
  → 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
2023-04-06 01:08:27 +03:00
Artturin
17a4f33849 add COMMA_NIXPKGS_FLAKE to allow changing the flake used by nix shell
this won't affect the picker choices as those are determinted by the
index
2023-04-06 01:02:09 +03:00
Artturin
e27a636990 check for nixpkgs= instead of nixpkgs in use_channel
nixpkgs may be path element in a non nixpkgs entry
2023-04-06 00:47:31 +03:00
Artturin
87f7d49716 v1.5.0 2023-03-06 21:11:19 +02:00
Artturin
3d0310e14c suggest https://github.com/Mic92/nix-index-database 2023-03-06 20:55:33 +02:00
Artturin
7aeaea325c deprecate the --update flag
this has caused users to be confused about what program is outputting
errors
2023-03-06 20:48:44 +02:00
Artturi
1dfd35ede2
Merge pull request #49 from nix-community/dependabot/github_actions/cachix/install-nix-action-20
Bump cachix/install-nix-action from 19 to 20
2023-03-06 14:03:54 +02:00
dependabot[bot]
f76665683d
Bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
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>
2023-03-06 12:02:01 +00:00
Artturi
c400126466
Merge pull request #47 from nix-community/dependabot/github_actions/cachix/install-nix-action-19 2023-02-13 22:10:17 +02:00
dependabot[bot]
a4d71f19e2
Bump cachix/install-nix-action from 18 to 19
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>
2023-02-13 12:01:02 +00:00
Artturin
0c208e098b v1.4.1 2023-01-31 17:18:18 +02:00
Artturin
86bca18ba4 make release.sh executable 2023-01-31 17:17:35 +02:00
Artturi
b99c7130d2
Merge pull request #44 from lilyinstarlight/fix/nonstandard-database-location
only warn about non-existent database if nix-locate fails
2023-01-15 00:24:54 +02:00
Lily Foster
646e6ed37b
only warn about non-existent database if nix-locate fails
When using a non-standard database location for nix-index (e.g. via the
NixOS modules in the github:Mic92/nix-index-database flake), comma warns
that the database is non-existent even though it does exist and
nix-locate works fine.

This changes the logic so that it only checks if the database exists
when the `nix-locate` command fails.
2023-01-04 11:05:41 -05:00
Artturin
1b07c19774 add release script from nixpkgs-lint 2022-12-09 01:49:10 +02:00
Artturin
48b723b201 make error/warning about database clearer 2022-11-26 15:57:41 +02:00
Artturin
959a31aaec ci checkout 2022-11-21 18:30:07 +02:00
Artturin
a6340d8340 fix 2022-11-21 18:28:25 +02:00
Artturin
8af35cb778 ci: run on the pr branch 2022-11-21 18:11:25 +02:00
Artturin
4b81e6002a release version 1.4.0 2022-11-21 15:26:00 +02:00
Artturin
8857f79a42 run cargo fmt 2022-11-21 15:25:12 +02:00
Artturin
34ba5a05bc add --print-package
requested in https://github.com/nix-community/comma/issues/38
2022-11-20 18:49:19 +02:00
Artturin
78456e7c5f add .direnv to gitignore 2022-11-20 18:12:32 +02:00
Artturin
1fbd317b4a Show error and exit upon nix-locate failure
Co-authored-by: gabriel-doriath-dohler <gabriel.doriath.dohler@ens.fr>
2022-11-20 17:57:03 +02:00
Artturi
4ed30d58db
Merge pull request #34 from houstdav000/patch/handle-db-in-store
Index.rs: Add db writeability check
2022-11-20 17:28:02 +02:00
Artturin
03e5467046 bump cargo ver 2022-11-19 17:40:48 +02:00
Artturi
691120d169
Merge pull request #37 from nix-community/dependabot/github_actions/cachix/install-nix-action-18
Bump cachix/install-nix-action from 17 to 18
2022-10-17 15:46:33 +03:00
dependabot[bot]
da547f60e7
Bump cachix/install-nix-action from 17 to 18
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>
2022-10-17 11:58:21 +00:00
David Houston
55dd39871d
Index.rs: Add db writeability check
Signed-off-by: David Houston <houstdav000@gmail.com>
2022-09-20 19:11:55 -04:00
Artturin
c83ff38399 update dependencies 2022-09-16 02:30:38 +03:00
Artturi
0ab044fba1
Merge pull request #28 from patricksjackson/update-flag 2022-09-16 02:21:25 +03:00
Patrick Jackson
3c768851e7 Fixing merge errors. 2022-07-12 10:46:25 -07:00
Patrick Jackson
f1cffeeabe Factor out database checks into a separate module. 2022-07-11 09:18:58 -07:00
Patrick Jackson
9668ec3ef1 Add --update flag with warning messages. 2022-07-11 09:15:59 -07:00
Artturi
f5732a6e88
Merge pull request #26 from Sciencentistguy/cleanup-rust
Cleanup rust
2022-07-05 05:57:58 +03:00
Jamie Quigley
0b06f4224b
Cleanup rust
- Borrow command + trail instead of moving out of args
- Use the new std::process:ExitCode api instead of calling std::process:exit()
- Produce better error messages on invalid picker output
2022-07-03 15:43:34 +01:00
Artturi
af2f2904f1
Merge pull request #27 from patricksjackson/devshell-index 2022-06-25 00:05:01 +03:00
Patrick Jackson
5fb4b96b5b Adding nix-index to the devshell. 2022-06-24 13:41:52 -07:00
Artturi
75c9adac36
Merge pull request #22 from Sciencentistguy/master 2022-06-11 19:58:16 +03:00
Jamie Quigley
d02894b669
Use clap-derive 2022-06-10 12:40:20 +01:00
Artturin
13102d58c2 add overlay
this way avoids importing nixpkgs
2022-06-06 16:37:20 +03:00
Artturin
034a9ca440 wrap with nix-index-unwrapped 2022-04-20 22:10:54 +03:00
Artturi
080cfe1620
Merge pull request #20 from SuperSandro2000/fix
Quote URL literal
2022-04-19 14:56:02 +03:00
Sandro Jäckel
0646d60c80
Quote URL literal 2022-04-19 12:51:07 +02:00