summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/nixpkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_nixpkgs/nixpkgs.nix')
-rw-r--r--third_party/bazel/rules_nixpkgs/nixpkgs.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/bazel/rules_nixpkgs/nixpkgs.nix b/third_party/bazel/rules_nixpkgs/nixpkgs.nix
new file mode 100644
index 000000000000..4da4ebde4a66
--- /dev/null
+++ b/third_party/bazel/rules_nixpkgs/nixpkgs.nix
@@ -0,0 +1,9 @@
+let
+  nixpkgsRev = "75942f96b3f7136cdc9cc7d9704824f17fabec02";
+  nixpkgsSha256 = "0ay4v4n856xl79ilym4w6vbp6pxzmn8l31j1ch98wa1lj7l71lgi";
+  nixpkgs = fetchTarball {
+    url = "https://github.com/nixos/nixpkgs/archive/${nixpkgsRev}.tar.gz";
+    sha256 = nixpkgsSha256;
+  };
+in
+import nixpkgs