https://github.com/snowfallorg/whats-in-my-store
Get the packages from NixPkgs found in your system's Nix Store
https://github.com/snowfallorg/whats-in-my-store
Last synced: about 1 year ago
JSON representation
Get the packages from NixPkgs found in your system's Nix Store
- Host: GitHub
- URL: https://github.com/snowfallorg/whats-in-my-store
- Owner: snowfallorg
- License: other
- Created: 2023-11-16T06:35:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T05:45:42.000Z (over 2 years ago)
- Last Synced: 2025-03-29T12:11:12.089Z (over 1 year ago)
- Language: TypeScript
- Size: 35.2 KB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What's In My Store?
> Get the packages from NixPkgs found in your system's Nix Store.
## Installation
### Nix Profile
You can install this package imperatively with the following command.
```bash
nix profile install github:snowfallorg/whats-in-my-store
```
### Nix Configuration
You can install this package by adding it as an input to your Nix Flake.
```nix
{
description = "My system flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
# Snowfall Lib is not required, but will make configuration easier for you.
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
whats-in-my-store = {
url = "github:snowfallorg/whats-in-my-store";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
overlays = with inputs; [
# Use the overlay provided by this flake.
whats-in-my-store.overlays.default
# There is also a named overlay, though the output is the same.
whats-in-my-store.overlays."package/whats-in-my-store"
];
};
}
```
If you've added the overlay from this flake, then in your system configuration you
can add the `snowfallorg.whats-in-my-store` package.
```nix
{ pkgs }:
{
environment.systemPackages = with pkgs; [
snowfallorg.whats-in-my-store
];
}
```
## Usage
```
whats-in-my-store
DESCRIPTION
Get the packages from NixPkgs found in your system's Nix Store.
USAGE
$ whats-in-my-store [options]
OPTIONS
--nixpkgs-flake, -f Choose the NixPkgs flake to search in
--nixpkgs-channel, -c Choose the NixPkgs channel to search in
--output, -o Output the results in a JSON file
--help, -h Show this help message
--verbose Increase logging verbosity, up to 3 times
```