about summary refs log tree commit diff
path: root/third_party/nixery
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nixery')
-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..9262f1461401
--- /dev/null
+++ b/third_party/nixery/default.nix
@@ -0,0 +1,18 @@
+# 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 = "6c4a69fa4280f0154ce257a1dfd23fb463c1ec5b";
+  src = pkgs.fetchFromGitHub {
+    owner = "google";
+    repo = "nixery";
+    rev = commit;
+    sha256 = "0g1v7020vjiqa3k07cfm3jzg3gc6nl3hs3vyw4c9s5v0dmmhhsz4";
+  };
+in drvTargets (import src {
+  inherit pkgs;
+  commitHash = _: commit;
+})