Skip to content

Commit cf821f4

Browse files
committed
pin nixpkgs
1 parent 21918bd commit cf821f4

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

clock-gtk3/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
rec {
2-
pkgs = import <nixpkgs> {};
2+
pkgs =
3+
import (import ./nixpkgs.nix) {};
34

45
ghc =
56
pkgs.haskell.packages.ghc844.override {
@@ -33,6 +34,7 @@ rec {
3334
p.unix
3435
]);
3536

36-
ghcid = pkgs.haskellPackages.ghcid;
37+
ghcid =
38+
pkgs.haskellPackages.ghcid;
3739

3840
}

clock-gtk3/nixpkgs.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# nix-prefetch-url --unpack https://github.com/NixOS/nixpkgs/archive/<rev>.tar.gz
2+
3+
(import <nixpkgs> { }).fetchFromGitHub {
4+
owner = "NixOS";
5+
repo = "nixpkgs";
6+
7+
# NixOS unstable, 2018 Nov 17
8+
rev = "80738ed9dc0ce48d7796baed5364eef8072c794d";
9+
sha256 = "0anmvr6b47gbbyl9v2fn86mfkcwgpbd5lf0yf3drgm8pbv57c1dc";
10+
11+
}

0 commit comments

Comments
 (0)