about summary refs log tree commit diff
path: root/third_party/nixery/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nixery/default.nix')
-rw-r--r--third_party/nixery/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/nixery/default.nix b/third_party/nixery/default.nix
new file mode 100644
index 000000000000..7ef7b644f8dd
--- /dev/null
+++ b/third_party/nixery/default.nix
@@ -0,0 +1,18 @@
+# Technically I suppose Nixery is not a third-party program, but it's
+# outside of this repository ...
+{ pkgs, ... }:
+
+let src = pkgs.third_party.fetchFromGitHub {
+  owner = "google";
+  repo = "nixery";
+  rev = "4f6ce83f9296545d6c74321b37d18545764c8827";
+  sha256 = "19aiak1pss6vwm0fwn02827l5ir78fkqglfbdl2gchsyv3gps8bg";
+};
+in import src {
+  pkgs = pkgs.third_party;
+  preLaunch = ''
+    export USER=root
+    cachix use tazjin
+  '';
+  extraPackages = with pkgs.third_party; [ cachix openssh ];
+}