mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-23 03:29:42 +01:00
2cfca15c31
* Fix the output of the nixpkgs derivation * Use the fixed-output sha256 hash for builtins.fetchTarball This change makes the nixpkgs pin forwards compatible with Nix 1.12.x and Nix 2.0. * Correct the phrasing of the code comment
13 lines
465 B
Nix
13 lines
465 B
Nix
# Given a Git revision hash `<rev>`, you get the new SHA256 by running:
|
|
#
|
|
# ```bash
|
|
# $ nix-prefetch-url "https://github.com/NixOS/nixpkgs/archive/<rev>.tar.gz"
|
|
# ```
|
|
#
|
|
# The SHA256 will be printed as the last line of stdout.
|
|
|
|
import ./fetch-nixpkgs.nix {
|
|
rev = "74286ec9e76be7cd00c4247b9acb430c4bd9f1ce";
|
|
sha256 = "0njb3qd2wxj7gil8y61lwh7zacmvr6zklv67w5zmvifi1fvalvdg";
|
|
outputSha256 = "13ydgpzl5nix4gc358iy9zjd5nrrpbpwpxmfhis4aai2zmkja3ak";
|
|
}
|