Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
Find a file
2025-07-11 16:52:21 +03:00
.github Bump cachix/install-nix-action from 30 to 31 2025-03-17 11:19:02 +00:00
src cargo fmt 2025-07-11 16:52:21 +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 v2.0.0 2025-07-11 13:53:35 +03:00
Cargo.toml v2.0.0 2025-07-11 13:53:35 +03:00
default.nix rewrite in rust 2022-04-19 01:36:39 +03:00
flake.lock flake.lock: Update 2025-07-11 13:19:11 +03:00
flake.nix Cont 0e0a5d2023 2024-10-16 22:43:53 +03:00
LICENSE Add LICENSE file, The license was already specified in the Cargo.toml 2024-11-27 20:31:54 +02:00
README.md space 2023-07-14 21:17:04 +03:00
release.sh Add quotes release.sh 2025-07-11 16:16:00 +03: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