Skip to main content
added 53 characters in body
Source Link
tobiasBora
  • 4.7k
  • 4
  • 29
  • 37

For an arbitrary channel I do it this way (replace nixpkgs with your favorite channel):

$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "22.11pre405560.2da64a81275" 

Note that the git commit is the last number 2da….

For an arbitrary channel I do it this way (replace nixpkgs with your favorite channel):

$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "22.11pre405560.2da64a81275" 

For an arbitrary channel I do it this way (replace nixpkgs with your favorite channel):

$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "22.11pre405560.2da64a81275" 

Note that the git commit is the last number 2da….

Source Link
tobiasBora
  • 4.7k
  • 4
  • 29
  • 37

For an arbitrary channel I do it this way (replace nixpkgs with your favorite channel):

$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' "22.11pre405560.2da64a81275"