Skip to content

Commit 270aa3a

Browse files
committed
chg:dev: pin nixpkgs version
1 parent 14f8320 commit 270aa3a

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

nixpkgs.nix

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
with import <nixpkgs> {};
2+
3+
let
4+
5+
# to update, run:
6+
# nix-prefetch-git git://github.com/NixOS/nixpkgs-channels refs/heads/nixpkgs-unstable
7+
src = pkgs.fetchFromGitHub {
8+
owner = "NixOS";
9+
repo = "nixpkgs-channels";
10+
rev = "1fa75a5bb7cdb9f2413d8b20726ce69523bfe4c6"; # 2017/01/02
11+
sha256 = "1m20qfgqnbbxzxdkf5x5kvhj996zw6pkikzsyckghxcpwh38ipcv";
12+
};
13+
14+
pinned-pkgs = import src {};
15+
16+
in
17+
pinned-pkgs

shell.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
with import <nixpkgs> {};
1+
with import ./nixpkgs.nix;
22

33
with pkgs;
44

0 commit comments

Comments
 (0)