Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
Go to file
Artturin 0373430d2f flake.lock: Update
Flake lock file updates:

• Updated input 'flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'naersk':
    'github:nix-community/naersk/abca1fb7a6cfdd355231fc220c3d0302dbb4369a' (2023-07-05)
  → 'github:nix-community/naersk/636a9b5dd7f2ad7d7c3af929ecf95e4d4fab9e97' (2023-10-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c11464c6625d9a71d91a3718a3567394638efc3e' (2023-07-14)
  → 'github:NixOS/nixpkgs/51d906d2341c9e866e48c2efcaac0f2d70bfd43e' (2023-10-21)
• Updated input 'utils':
    'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
2023-10-24 06:19:47 +03:00
.github Bump cachix/install-nix-action from 22 to 23 2023-09-11 21:47:58 +00:00
src fix most cargo clippy -- -D clippy::pedantic 2023-10-24 06:19:31 +03:00
.envrc rewrite in rust 2022-04-19 01:36:39 +03:00
.gitignore add .direnv to gitignore 2022-11-20 18:12:32 +02:00
Cargo.lock v1.7.1 2023-07-14 22:03:08 +03:00
Cargo.toml v1.7.1 2023-07-14 22:03:08 +03:00
default.nix rewrite in rust 2022-04-19 01:36:39 +03:00
flake.lock flake.lock: Update 2023-10-24 06:19:47 +03:00
flake.nix add cargo-edit 2023-04-06 01:15:12 +03:00
README.md space 2023-07-14 21:17:04 +03:00
release.sh make release.sh executable 2023-01-31 17:17:35 +02:00
shell.nix rewrite in rust 2022-04-19 01:36:39 +03:00

comma

Comma runs software without installing it.

Basically it just wraps together nix shell -c and nix-index. You stick a , in front of a command to run it from whatever location it happens to occupy in nixpkgs without really thinking about it.

Installation

comma is in nixpkgs so you can install it just like any other package.

either install it in your nix environment

nix-env -f '<nixpkgs>' -iA comma

or add this snippet to your NixOS configuration.

environment.systemPackages = with pkgs; [ comma ];

Usage

, cowsay neato

Prebuilt index

https://github.com/Mic92/nix-index-database