about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-19T01·28+0100
committerVincent Ambo <tazjin@google.com>2019-08-19T01·40+0100
commit2e688c18a5c9145826be3d08feeb2a0ba24a86e1 (patch)
tree444c0cf3929f403ffc932289aa79bfa8654aeeb0 /third_party
parentcb810687d528803cce46cc33c7e33ae8aa23de5d (diff)
feat(third_party): Add nixery with Cachix configuration r/38
Diffstat (limited to 'third_party')
-rw-r--r--third_party/nixery.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/nixery.nix b/third_party/nixery.nix
new file mode 100644
index 000000000000..acca8f8d9772
--- /dev/null
+++ b/third_party/nixery.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.fetchFromGitHub {
+  owner = "google";
+  repo = "nixery";
+  rev = "5d64be1969f397236883f140b4d533497622387c";
+  sha256 = "0vxng5iy6m5a9b38x1mama6idagdinlv001fdkmjgj25sgyrqy2h";
+};
+in import src {
+  inherit pkgs;
+  preLaunch = ''
+    export USER=root
+    cachix use tazjin
+  '';
+  extraPackages = with pkgs; [ cachix iana-etc ];
+}