Commit Graph

98 Commits

Author SHA1 Message Date
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
Sandro Jäckel
3dae429787
Remove duplicated gitignore entry 2022-04-19 12:50:49 +02:00
Artturin
0f71cf6906 add --version 2022-04-19 02:47:52 +03:00
Artturin
98043ec1e1 use clap to get the COMMA_PICKER env var 2022-04-19 02:35:53 +03:00
Artturin
ddee13fb63 update readme and version 2022-04-19 02:11:48 +03:00
Artturi
0b4e4bc525
Merge pull request #19 from nix-community/rustrewrite 2022-04-19 01:50:24 +03:00
Artturin
2d5ddcbf5a rewrite in rust 2022-04-19 01:36:39 +03:00
Artturin
b858758baf run ci on darwin and add dependabot 2022-04-19 01:07:35 +03:00
Artturi
10ba38ddd8
Merge pull request #18 from nix-community/remove-prebuilt
remove prebuilt cache
2022-04-17 16:28:48 +03:00
Artturin
cd0f4852ea remove prebuilt cache
it increases the closure size and limits the system we support
in the future we can implement this better in the script
2022-04-15 15:07:30 +03:00
Artturin
67f26046b9 support all systems supported by hydra 2022-03-23 23:00:36 +02:00
Artturi
e60adc346d
Merge pull request #16 from SuperSandro2000/patch-1
Don't create unused directory
2022-03-22 17:09:18 +02:00
Andreas Schmid
cb27b68ca7
indexCache for Darwin as well (#13)
Signed-off-by: Andreas Schmid <service@aaschmid.de>
2022-03-22 13:25:48 +07:00
Sandro
0f7525e2e4
Don't create unused directory 2022-03-22 06:44:06 +01:00
DavHau
54149dc417
flake compatibility + index management (#11)
* compatibility to flake based systems

  - add flake.nix
  - provide interface for updating the index

* pin nix to version 2.3

* Update ,

Co-authored-by: Artturi <Artturin@artturin.com>

* remove db outdated error

Co-authored-by: Artturi <Artturin@artturin.com>
2022-02-17 14:06:02 +07:00
Artturin
02e3e5545b add build test 2022-01-02 19:34:41 +02:00
Artturi
a4ddc08009
Merge pull request #5 from numkem/picker 2022-01-02 19:28:08 +02:00
Artturi
ab08e53217
Merge pull request #4 from Sohalt/patch-1 2022-01-02 19:25:19 +02:00
Artturin
c9b070ca6d update prebuilt index
https://github.com/Mic92/nix-index-database
2022-01-02 19:20:35 +02:00
Artturi
cc48cc9b40
Merge pull request #7 from fzakaria/check-local-index 2022-01-02 19:11:11 +02:00
Artturi
05055c6a93
Merge pull request #12 from aaschmid/nix-2.4-compatibility 2022-01-02 19:10:39 +02:00
Andreas Schmid
f6f259214b add nix version 2.4 compatibility
Signed-off-by: Andreas Schmid <service@aaschmid.de>
2022-01-02 19:09:21 +02:00
Farid Zakaria
86b0a9d35c
Update .gitignore 2020-11-19 09:08:40 -08:00
Farid Zakaria
60a4cf8ec5 Prefer local nix-index if present
The nix-index database offered in the derivation
may be more out of date than what is present on the
system.

In fact, prefer any local nix-index database to the prebuilt
database included with comma
2020-08-13 12:57:22 -07:00
Sebastien Bariteau
11e5b5a519 Override choice picker through COMMA_PICKER
Added test for the picker so it fails with a message rather than "no match".
2020-06-13 11:43:14 -04:00
Sohalt
cfcc9fa8d0
Make shebang compatible with NixOS
NixOS does not have /bin/bash
2020-05-28 03:09:41 +02:00
Burke Libbey
4a62ec17e2 readme 2020-04-29 10:28:09 -04:00
Burke Libbey
9249a87ad3 MIT 2020-04-29 10:23:34 -04:00
Burke Libbey
85f8d8dfe5 Initial 2020-04-28 18:08:44 -04:00