FAQ/Pinning Nixpkgs: Difference between revisions

imported>Onetom
Missing `ref` attribute from `fetchGit` invocation
imported>Onetom
m Wrong channel name in ref attribute
Line 28: Line 28:
   # 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`
   # `git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable`
   ref = "refs/heads/nixpkgs-unstable";
   ref = "refs/heads/nixos-unstable";
   rev = "ca2ba44cab47767c8127d1c8633e2b581644eb8f";
   rev = "ca2ba44cab47767c8127d1c8633e2b581644eb8f";
}) {}
}) {}