Created
September 12, 2017 10:07
-
-
Save boj/eb811e3295522d473edc9c2a840e3506 to your computer and use it in GitHub Desktop.
Pinning nixpkgs in default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
config = { | |
allowUnfree = true; | |
}; | |
inherit (import <nixpkgs> { }) fetchFromGitHub; | |
# Current rev points to 17.09-beta | |
pkgs = import (fetchFromGitHub { | |
owner = "NixOS"; | |
repo = "nixpkgs"; | |
rev = "6a7066eb53685438564dc50362666d0e7f150110"; | |
sha256 = "1psff8lpp5kmihsg7xv46a0d3rmhsb4kyb9w8r213gn8ggigwg57"; | |
}) { inherit config; }; | |
drv = pkgs.haskellPackages.callPackage ./packages.nix { }; | |
in | |
drv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment