Johbo's Notes - Working on the Web
  • About Me
  • Archives

Get the version of nixpkgs - Snippet

Wed 03 February 2016 by Johannes Bornhold in nixos Tags nix / snippet / nixpkgs

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"
  • Social

    • mastodon
    • matrix
    • github
  • Categories

    • cloud
    • develop
    • event
    • hello
    • macos
    • nixos
    • tools

© 2024 Johannes Bornhold

Back to top