nu_scripts/modules/nix
Chris Dawkins 745896c85a
init nix scripts (#584)
Commands for working with nix package manager.
2023-08-23 14:01:50 -05:00
..
nix.nu init nix scripts (#584) 2023-08-23 14:01:50 -05:00
README.md init nix scripts (#584) 2023-08-23 14:01:50 -05:00

Nix

Commands for working with nix.

ns

Shorthand search (nix search nixpkgs ...) with much nicer output.

 > nix search nixpkgs diesel
* legacyPackages.x86_64-linux.diesel-cli (2.1.0)
  Database tool for working with Rust projects that use Diesel

* legacyPackages.x86_64-linux.diesel-cli-ext (0.3.13)
  Provides different tools for projects using the diesel_cli
 > ns diesel
╭───┬────────────────┬──────────────────────────────────────────────────────────────┬─────────╮
│ # │    package     │                         description                          │ version │
├───┼────────────────┼──────────────────────────────────────────────────────────────┼─────────┤
│ 0 │ diesel-cli     │ Database tool for working with Rust projects that use Diesel │ 2.1.0   │
│ 1 │ diesel-cli-ext │ Provides different tools for projects using the diesel_cli   │ 0.3.13  │
├───┼────────────────┼──────────────────────────────────────────────────────────────┼─────────┤
│ # │    package     │                         description                          │ version │
╰───┴────────────────┴──────────────────────────────────────────────────────────────┴─────────╯