Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
Go to file
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
.github Bump cachix/install-nix-action from 21 to 22 2023-06-19 11:58:19 +00:00
src Print warnings to stderr 2023-07-31 01:17:33 +02: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 regen flake with stable nix 2023-07-14 22:02:48 +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