From 4f29a92fe3d56d208b946a26cbf66c9769112817 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 21 Aug 2019 09:49:24 -0400
Subject: [PATCH] Pin a particular nixpkgs

This gives us deterministic, portable (across time) builds w/ nix.
---
 nixpkgs.nix | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 nixpkgs.nix

diff --git a/nixpkgs.nix b/nixpkgs.nix
new file mode 100644
index 0000000..c308629
--- /dev/null
+++ b/nixpkgs.nix
@@ -0,0 +1,11 @@
+{ pkgs ? import <nixpkgs> { } }:
+let
+  nixpkgs = fetchTarball
+  { url = "https://github.com/NixOS/nixpkgs-channels/archive/4557b9f1f50aa813ae673fe6fcd30ca872968947.tar.gz";
+    sha256 = "0cam48cn042axcik9vqxsqjc2hwyb2grjbjxacsn4w0y1zk6k6l2";
+  };
+  args =
+  { overlays = [ (import ./overlays.nix) ];
+  };
+in
+pkgs.callPackage nixpkgs args
-- 
GitLab