mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-23 03:29:42 +01:00
12 lines
438 B
Nix
12 lines
438 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 (builtins.fetchTarball {
|
|
url = "https://github.com/NixOS/nixpkgs/archive/dd9f73e7d34486b09b966738ace161e621a0480b.tar.gz";
|
|
sha256 = "0s674386v5b24a9fia26439gw9wsyhif85k2nzpxkp61293v3n3h";
|
|
})
|