Skip to content

nix-community/comma

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 19, 2022 01:36
November 20, 2022 18:12
July 14, 2023 22:03
July 14, 2023 21:17
April 19, 2022 01:36
October 24, 2023 06:19
April 6, 2023 01:15
January 31, 2023 17:17
April 19, 2022 01:36

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