about summary refs log tree commit diff
path: root/tools/nixery/nixpkgs-pin.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-01T11·46+0100
committerVincent Ambo <mail@tazj.in>2020-07-25T13·43+0100
commitb4e0b55e5608ae2b394880e69912d9352fea2d9d (patch)
tree099758c2f4867ca70ba581db6f8a2d42be49a7d2 /tools/nixery/nixpkgs-pin.nix
parentbdda24a77287e09cb855eee7019148ee8bbd1cd9 (diff)
chore(build): Change pin for default nixpkgs used to build Nixery
This moves the pin from just being in the Travis configuration to also
being set in a nixpkgs-pin.nix file, which makes it trivial to build
at the right commit when performing local builds.
Diffstat (limited to 'tools/nixery/nixpkgs-pin.nix')
-rw-r--r--tools/nixery/nixpkgs-pin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/nixery/nixpkgs-pin.nix b/tools/nixery/nixpkgs-pin.nix
new file mode 100644
index 000000000000..ea1b37bfe7a0
--- /dev/null
+++ b/tools/nixery/nixpkgs-pin.nix
@@ -0,0 +1,4 @@
+import (builtins.fetchTarball {
+  url = "https://github.com/NixOS/nixpkgs-channels/archive/0a40a3999eb4d577418515da842a2622a64880c5.tar.gz";
+  sha256 = "1j8gy2d61lmrp5gzi1a2jmb2v2pbk4b9666y8pf1pjg3jiqkzf7m";
+}) {}