about summary refs log tree commit diff
path: root/third_party/nixery.nix
blob: 35fe36356f5a7b57d80dcbb961a4200ff2366f23 (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 = "924a4b2d3bf5ed9d7052d7ac09288bb0037daae1";
  sha256 = "1ccq2nk4kbprm48zzpvc132970wvdmvi1iyyrk8kbrf3b92gsm63";
};
in import src {
  inherit pkgs;
  preLaunch = ''
    export USER=root
    cachix use tazjin
  '';
  extraPackages = with pkgs; [ cachix ];
}