Jump to content

FAQ/Pinning Nixpkgs: Difference between revisions

Show how to get commit hash for nixpkgs
imported>Lheckemann
imported>Lheckemann
(Show how to get commit hash for nixpkgs)
Line 26: Line 26:
   name = "nixos-unstable-2018-09-12";
   name = "nixos-unstable-2018-09-12";
   url = https://github.com/nixos/nixpkgs/;
   url = https://github.com/nixos/nixpkgs/;
   # Commit hash for nixos-unstable as of 2018-09-12
   # Commit hash for nixos-unstable as of 2018-09-12 (`git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable`)
   rev = "ca2ba44cab47767c8127d1c8633e2b581644eb8f";
   rev = "ca2ba44cab47767c8127d1c8633e2b581644eb8f";
}) {}
}) {}
Anonymous user