Skip to content

Commit

Permalink
Pin nixpkgs to 19.09 in shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacg committed Jun 21, 2020
1 parent c9e1225 commit 73fc646
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ branches:
install:
- sudo curl -L https://nixos.org/nix/install | sh
- . $HOME/.nix-profile/etc/profile.d/nix.sh
- nix-shell -I nixpgs=channel:nixos-unstable
- nix-shell

script:
- HYPOTHESIS_PROFILE=travis-ci pytest -v -k dataflow
Expand Down
18 changes: 9 additions & 9 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
with import <nixpkgs> {};
#with import <nixpkgs> {};

# with import (builtins.fetchTarball {
# # Descriptive name to make the store path easier to identify
# name = "nixos-18.09";
# # Commit hash for nixos-unstable as of 2018-09-12
# url = "https://github.com/NixOS/nixpkgs/archive/18.09.tar.gz";
# # Hash obtained using `nix-prefetch-url --unpack <url>`
# sha256 = "1ib96has10v5nr6bzf7v8kw7yzww8zanxgw2qi1ll1sbv6kj6zpd";
# }) {};
with import (builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
name = "nixos-19.09";
# Commit hash for nixos-unstable as of 2018-09-12
url = "https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "0mhqhq21y5vrr1f30qd2bvydv4bbbslvyzclhw0kdxmkgg3z4c92";
}) {};

let python = python37; in

Expand Down

0 comments on commit 73fc646

Please sign in to comment.