Skip to content

Commit 4489b01

Browse files
committed
Pin nixpkgs to 16.09’s SHA1
1 parent ae6be3e commit 4489b01

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

default.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
with import <nixpkgs> {}; {
1+
let
2+
3+
nixpkgs = (import <nixpkgs> {}).pkgs.fetchFromGitHub {
4+
owner = "NixOS"; repo = "nixpkgs";
5+
rev = "0ff8fc1d83f85dbde91a3ce65111141c9014114e"; # 16.09
6+
sha256 = "0llha8bhvwvf2pij1vik693181gxgwhyzldfc1pa31jxqajxxjlz";
7+
};
8+
9+
in with import nixpkgs {}; {
210
main = let
311
dnsimple = python27Packages.buildPythonPackage rec {
412
name = "dnsimple-${version}";
@@ -33,7 +41,7 @@ with import <nixpkgs> {}; {
3341
flow25 = stdenv.lib.overrideDerivation flow (oldAttrs : rec {
3442
name = "flow-${version}";
3543
version = "0.25.0";
36-
44+
3745
src = fetchFromGitHub {
3846
owner = "facebook";
3947
repo = "flow";
@@ -47,7 +55,7 @@ with import <nixpkgs> {}; {
4755
shellHook = ''
4856
source .env.local
4957
cd ashes
50-
ln -sf `readlink -f $(which flow)` node_modules/flow-bin/vendor/flow
58+
ln -sf `readlink -f $(which flow)` node_modules/flow-bin/vendor/flow
5159
'';
5260
};
5361

@@ -59,7 +67,7 @@ with import <nixpkgs> {}; {
5967
cd green-river
6068
'';
6169
};
62-
70+
6371
middlewarehouse = stdenv.mkDerivation {
6472
name = "middlewarehouse";
6573
buildInputs = [ go glide ];

0 commit comments

Comments
 (0)