Skip to content

Commit 49fbe65

Browse files
committed
Pin nixpkgs.
1 parent d19ae36 commit 49fbe65

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
{ pkgs ? import <nixpkgs> {}
1+
with (builtins.fromJSON (builtins.readFile ./nixpkgs.json));
2+
{ pkgs ? import (builtins.fetchTarball {
3+
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
4+
inherit sha256;
5+
}) {}
26
, compiler ? "ghc881"
37
}:
48
let

nixpkgs.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{ "rev" : "cc1ae9f21b9"
2+
, "sha256" : "0zjafww05h50ncapw51b5qxgbv9prjyag0j22jnfc3kcs5xr4ap0"
3+
}

0 commit comments

Comments
 (0)