| Post Reply | RetroFed Forum Forum Index » Nix / NixOS |
| Author | Message | ||
|---|---|---|---|
ruffsl
programming.dev
ruffsl@programming.devJoined: 2023-06-09 |
|
||
| 11 Original | |||
ruffsl
programming.dev
ruffsl@programming.devJoined: 2023-06-09 |
I really appreciate the comma command. |
||
| 5 | |||
hallettj
leminal.space
hallettj@leminal.spaceJoined: 2024-02-23 |
I really appreciate the comma command.
The comma command is magic! Of course I use it often to run something that I don't feel like I need listed in my main config - especially a command that I just want to run once. But there are also plenty of cases where I do want to add a package to a config, and I know the command that I want, but I don't know which package it comes from. The comma is a real easy way to find out. I haven't watched the video - maybe these tips are already in there. If you run a command like
Or you can ask comma to show you the path of the executable it would run, and infer the package name from the path:
The Nix store path format is So that gives me package names I can put in my NixOS config, or devshell, or whatever. In this case I could install any of |
||
| 5 | |||
| Post Reply |
Back to top |