Commit Graph

98 Commits

Author SHA1 Message Date
dependabot[bot]
6d4006112c
Bump cachix/install-nix-action from 22 to 23
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>
2023-09-11 21:47:58 +00:00
Artturi
87972887f3
Merge pull request #61 from nix-community/dependabot/github_actions/actions/checkout-4 2023-09-12 00:47:18 +03:00
dependabot[bot]
d83b23c5bf
Bump actions/checkout from 3 to 4
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>
2023-09-11 11:29:08 +00:00
Artturi
da2e97c626
Merge pull request #58 from athre0z/warnings-to-stderr 2023-07-31 23:01:57 +03:00
Joel Höner
de8c96ae7a Print warnings to stderr
With the prevoius behavior any warning being printed would break
things when piping command output to files.
2023-07-31 01:17:33 +02:00
Artturi
3b35742f03
Merge pull request #57 from badboy/patch-1
Fix typo in error message
2023-07-24 20:12:26 +03:00
Jan-Erik Rediger
6c91549e33
Fix typo in error message 2023-07-24 12:33:29 +02:00
Artturin
daf2e1ab84 fix clippy 2023-07-15 22:18:45 +03:00
Artturin
66a5b658fe v1.7.1 2023-07-14 22:03:08 +03:00
Artturin
2784c3c2db regen flake with stable nix 2023-07-14 22:02:48 +03:00
Artturin
f651806e6e v1.7.0 2023-07-14 22:00:35 +03:00
Artturin
10e7e9c136 cargo upgrade
cargo update
2023-07-14 21:37:18 +03:00
Artturin
40c583a59e Flake lock file updates:
• Updated input 'flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
  → 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
• Updated input 'naersk':
    'github:nix-community/naersk/88cd22380154a2c36799fe8098888f0f59861a15' (2023-03-23)
  → 'github:nix-community/naersk/abca1fb7a6cfdd355231fc220c3d0302dbb4369a' (2023-07-05)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4a65e9f64e53fdca6eed31adba836717a11247d2' (2023-04-05)
  → 'github:NixOS/nixpkgs/c11464c6625d9a71d91a3718a3567394638efc3e' (2023-07-14)
• Updated input 'utils':
    'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
  → 'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
• Added input 'utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
2023-07-14 21:17:52 +03:00
Artturin
afc957a731 space 2023-07-14 21:17:04 +03:00
Artturi
4360dbe89b
Merge pull request #56 from Janik-Haag/master 2023-07-14 21:15:23 +03:00
Artturi
cac54cf595
Update README.md 2023-07-14 21:12:25 +03:00
Janik H
96d4bab5b3 README: update install instructions 2023-07-07 18:43:16 +02:00
Artturin
bea6db4db5 add --shell to open shell containing executable
fix https://github.com/nix-community/comma/issues/55
2023-06-28 19:54:39 +03:00
Artturi
3c039932f6
Merge pull request #53 from nix-community/dependabot/github_actions/cachix/install-nix-action-22
Bump cachix/install-nix-action from 21 to 22
2023-06-19 17:48:19 +03:00
dependabot[bot]
b42e047fc6
Bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...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>
2023-06-19 11:58:19 +00:00
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