about summary refs log tree commit diff
path: root/third_party/nixery.nix
blob: 88dbe057fd8feeae05ea84363e7dffd73bfeba26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Technically I suppose Nixery is not a third-party program, but it's
# outside of this repository ...
{ pkgs }:

let src = pkgs.fetchFromGitHub {
  owner = "google";
  repo = "nixery";
  rev = "811a1fd228906c89af61d340be8f44788152dad9";
  sha256 = "0jsps86kr64rbnyi49w4pv9pr2fz1wp80zzk5a8ap6q21daky4q0";
};
in import src {
  inherit pkgs;
  preLaunch = ''
    export USER=root
    cachix use tazjin
  '';
  extraPackages = with pkgs; [ cachix ];
}