mirror of
https://github.com/nix-community/comma.git
synced 2024-11-21 16:53:54 +03:00
Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
ae61728cb9
feat: redo the print-package option |
||
---|---|---|
.github | ||
src | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
README.md | ||
release.sh | ||
shell.nix |
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