Skip to content

Show the version of every package in the devShells of a Nix Flake

Notifications You must be signed in to change notification settings

GuilloteauQ/nix-shell-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-shell-list

Prints the version of each package used in the different devShells of a Nix flake

Usage

Print the packages versions for the flake in the current directory:

nix run github:GuilloteauQ/nix-shell-list

Print the packages versions for any flake:

nix run github:GuilloteauQ/nix-shell-list -- -f github:GuilloteauQ/qornflakes

Output:

x86_64-linux:
        check:
        shell-R:
                R -> 4.2.1
                r-tidyverse -> 1.3.2
                r-zoo -> 1.8-11
                r-reshape2 -> 1.4.4
        shell-julia:
                julia-bin -> 1.8.3
        shell-lua:
                lua -> 5.4.4
        shell-python:
                python3 -> 3.8.15

Add to registries

nix registry add nsl github:GuilloteauQ/nix-shell-list

and now you can call from nsl:

nix run nsl
# OR
nix run nsl -- -f github:GuilloteauQ/qornflakes

About

Show the version of every package in the devShells of a Nix Flake

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published