Jump to content

FAQ/Pinning Nixpkgs: Difference between revisions

m
quote naked uris
imported>Onetom
(Keep the `fetchGit {url}` attribute consistent with the repo used in the related comment)
imported>Valodim
m (quote naked uris)
Line 13: Line 13:
   name = "nixos-unstable-2018-09-12";
   name = "nixos-unstable-2018-09-12";
   # Commit hash for nixos-unstable as of 2018-09-12
   # Commit hash for nixos-unstable as of 2018-09-12
   url = https://github.com/nixos/nixpkgs/archive/ca2ba44cab47767c8127d1c8633e2b581644eb8f.tar.gz;
   url = "https://github.com/nixos/nixpkgs/archive/ca2ba44cab47767c8127d1c8633e2b581644eb8f.tar.gz";
   # Hash obtained using `nix-prefetch-url --unpack <url>`
   # Hash obtained using `nix-prefetch-url --unpack <url>`
   sha256 = "1jg7g6cfpw8qvma0y19kwyp549k1qyf11a5sg6hvn6awvmkny47v";
   sha256 = "1jg7g6cfpw8qvma0y19kwyp549k1qyf11a5sg6hvn6awvmkny47v";
Line 25: Line 25:
   # Descriptive name to make the store path easier to identify
   # Descriptive name to make the store path easier to identify
   name = "nixos-unstable-2018-09-12";
   name = "nixos-unstable-2018-09-12";
   url = https://github.com/nixos/nixpkgs-channels/;
   url = "https://github.com/nixos/nixpkgs-channels/";
   # 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`
Anonymous user