mirror of
https://github.com/nix-community/comma.git
synced 2024-11-28 10:39:39 +03:00
Comma runs software without installing it. [maintainers=@Artturin,@burke,@DavHau]
17fb129e37
Dunno what names to put after the year so I just put what's in `authors` in `Cargo.toml` |
||
---|---|---|
.github | ||
src | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
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