Skip to content

Commit e3a8104

Browse files
committed
Use pinned nixpkgs in release.nix too
1 parent 8d2e3d7 commit e3a8104

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

default.nix

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
{ nixpkgsSrc ? builtins.fetchTarball {
2-
url =
3-
"https://github.com/NixOS/nixpkgs/archive/50a8d606f3527b88fbd9f68048944470c1b900cd.tar.gz"; # haskell-updates
4-
sha256 = "07xlglmlhf3q6h8cdi3rfg4b0jk70h42kwpgwdh5b1vz149njins";
5-
}, pkgs ? import nixpkgsSrc { }, compiler ? null, hoogle ? true
1+
{ pkgs ? import ./nixpkgs.nix, compiler ? null, hoogle ? true
62
, forShell ? pkgs.lib.inNixShell }:
73

84
let

nixpkgs.nix

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
let
2+
nixpkgsSrc = builtins.fetchTarball {
3+
url =
4+
"https://github.com/NixOS/nixpkgs/archive/50a8d606f3527b88fbd9f68048944470c1b900cd.tar.gz"; # haskell-updates
5+
sha256 = "07xlglmlhf3q6h8cdi3rfg4b0jk70h42kwpgwdh5b1vz149njins";
6+
};
7+
8+
in import nixpkgsSrc { }
9+

release.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ pkgs ? import <nixpkgs> { }, compiler ? "ghc884" }:
1+
{ pkgs ? import ./nixpkgs.nix, compiler ? "ghc884" }:
22

33
with pkgs.haskell.lib;
44

0 commit comments

Comments
 (0)