From c8e59c8d925445b3ebe49b044676ed396b68ce49 Mon Sep 17 00:00:00 2001 From: Benjamin Summers Date: Wed, 7 Nov 2018 11:12:28 -0800 Subject: [PATCH] Pin nixpkgs to a specific git commit to prevent future breakage. --- .gitmodules | 3 +++ nixpkgs | 1 + shell.nix | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 nixpkgs diff --git a/.gitmodules b/.gitmodules index baaaf9ff30..1843a5f08c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,6 @@ [submodule "subprojects/libsni"] path = subprojects/libsni url = https://github.com/urbit/sniproxy +[submodule "nixpkgs"] + path = nixpkgs + url = https://github.com/NixOS/nixpkgs.git diff --git a/nixpkgs b/nixpkgs new file mode 160000 index 0000000000..865cbd380d --- /dev/null +++ b/nixpkgs @@ -0,0 +1 @@ +Subproject commit 865cbd380d2568806c6e46c9a4bc746af7ec13c9 diff --git a/shell.nix b/shell.nix index 4b00a889f3..559a731087 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,4 @@ -with (import {}); +with (import ./nixpkgs {}); let