about summary refs log tree commit diff
path: root/third_party/nixery/default.nix
blob: 9262f14614013007a9ebf70bd0495da3590dcd28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Import the Nixery repository as-is, but pass our own package set
# instead of the pin it has.
{ depot, pkgs, ... }:

let
  inherit (depot.nix.readTree) drvTargets;

  commit = "6c4a69fa4280f0154ce257a1dfd23fb463c1ec5b";
  src = pkgs.fetchFromGitHub {
    owner = "google";
    repo = "nixery";
    rev = commit;
    sha256 = "0g1v7020vjiqa3k07cfm3jzg3gc6nl3hs3vyw4c9s5v0dmmhhsz4";
  };
in drvTargets (import src {
  inherit pkgs;
  commitHash = _: commit;
})