Skip to main content
added 161 characters in body
Source Link
Chris Stryczynski
  • 6.7k
  • 12
  • 57
  • 99
  1. That manifest might be a nice way.

  2. Another (also in the linked forum) is

    readlink /nix/var/nix/profiles/per-user/root/channels-1-link 
  3. And also, perhaps the easiest one:

    cat /nix/var/nix/profiles/per-user/root/channels/*/svn-revision 

    On newer versions of nix, the full git commit sha will also be in:

    /nix/var/nix/profiles/per-user/root/channels/*/.git-revision 
  1. That manifest might be a nice way.

  2. Another (also in the linked forum) is

    readlink /nix/var/nix/profiles/per-user/root/channels-1-link 
  3. And also, perhaps the easiest one:

    cat /nix/var/nix/profiles/per-user/root/channels/*/svn-revision 
  1. That manifest might be a nice way.

  2. Another (also in the linked forum) is

    readlink /nix/var/nix/profiles/per-user/root/channels-1-link 
  3. And also, perhaps the easiest one:

    cat /nix/var/nix/profiles/per-user/root/channels/*/svn-revision 

    On newer versions of nix, the full git commit sha will also be in:

    /nix/var/nix/profiles/per-user/root/channels/*/.git-revision 
Source Link

  1. That manifest might be a nice way.

  2. Another (also in the linked forum) is

    readlink /nix/var/nix/profiles/per-user/root/channels-1-link 
  3. And also, perhaps the easiest one:

    cat /nix/var/nix/profiles/per-user/root/channels/*/svn-revision