A nice snippet to get the version from the current nixpkgs on the command line:

$ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion'
"16.03pre74367.4f3d769"

Comments

comments powered by Disqus