mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-05 10:49:42 +01:00
081be2af78
* Pin nixpkgs to `7ae9da426924537755ce9164fd5b5f81ce16a1c3`; minor documentation tweaks * Remove use of `fetchgitPrivate` from `proto3-suite` toplevel pkg override attr def
21 lines
763 B
Nix
21 lines
763 B
Nix
let
|
|
# NOTE: This is the only non-deterministic part of our system since we need a
|
|
# a starting point in order to be able to fetch the pinned `nixpkgs`. From
|
|
# that point forward our build is deterministic and pinned
|
|
#
|
|
# We only use this for the `fetchFromGitHub` utility so as long as that
|
|
# remains stable then we shouldn't have migration issues.
|
|
inherit (import <nixpkgs> { }) fetchFromGitHub;
|
|
|
|
# In order to update `nixpkgs.json` to a specific revision, run:
|
|
#
|
|
# ```bash
|
|
# $ nix-prefetch-git https://github.com/NixOS/nixpkgs.git "${REVISION}" > nixpkgs.json
|
|
# ```
|
|
nixpkgs = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
|
|
in
|
|
fetchFromGitHub {
|
|
owner = "NixOS";
|
|
repo = "nixpkgs";
|
|
inherit (nixpkgs) rev sha256;
|
|
}
|