Created
June 23, 2018 17:54
-
-
Save chris-martin/9088a2931236cf819378f385d0523283 to your computer and use it in GitHub Desktop.
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
{ pkgs, ... }: | |
let | |
src = pkgs.fetchFromGitHub { | |
owner = "cachix"; | |
repo = "cachix"; | |
# Jun 23, 2018 | |
rev = "6a65632a4b51488b5355377e5c292a6a01efee2e"; | |
sha256 = "13l12xkqpx6l7pfqwysz6yrgpjk6ydj6w7c85h74mzz4fvzihxyl"; | |
}; | |
in | |
{ | |
environment.systemPackages = [ | |
(pkgs.callPackage src {}) | |
]; | |
nix.binaryCaches = [ | |
"https://cachix.cachix.org" | |
]; | |
nix.binaryCachePublicKeys = [ | |
"cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=" | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment