Skip to content

Commit 2b5c10a

Browse files
committed
[nix] pin channel to 20.09
There are issues in the 21.05 channel related to python 2.7 deprecations
1 parent e73e889 commit 2b5c10a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dev/nix/shell.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
with import <nixpkgs> {};
22

3+
# Pin the nixpkgs channel
4+
with import (builtins.fetchTarball {
5+
# Descriptive name to make the store path easier to identify
6+
name = "nixos-2020-09";
7+
# Commit hash
8+
url = "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz";
9+
# Hash obtained using `nix-prefetch-url --unpack <url>`
10+
sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy";
11+
}) {};
12+
13+
314
let
415
python_packages = p: with p; [
516
pip

0 commit comments

Comments
 (0)