about summary refs log tree commit diff
path: root/third_party/nixery/default.nix
blob: 7a798ca0b074f72f443d5784e22f71224a032a6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 = "601cd998077f77f257ad1a40fa488add8464650f";
  src = pkgs.fetchFromGitHub {
    owner = "google";
    repo = "nixery";
    rev = commit;
    sha256 = "195rz25y3hfxcmniysajzjg7g69qhz7w06lql8fn0dbcdcxsq6g4";
  };
in
drvTargets (import src {
  inherit pkgs;
  commitHash = _: commit;
})