We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19ae36 commit 49fbe65Copy full SHA for 49fbe65
2 files changed
default.nix
@@ -1,4 +1,8 @@
1
-{ pkgs ? import <nixpkgs> {}
+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
+ }) {}
6
, compiler ? "ghc881"
7
}:
8
let
nixpkgs.json
@@ -0,0 +1,3 @@
+{ "rev" : "cc1ae9f21b9"
+, "sha256" : "0zjafww05h50ncapw51b5qxgbv9prjyag0j22jnfc3kcs5xr4ap0"
+}
0 commit comments