on master help sign in
Cache macOS as well as linux
commitd7f3f8a7f30d8c91ddc58f7e4a616cb0c43906a7 authorRyan Trinkle <ryan.trinkle@gmail.com> dateTue 25 Sep 2018, 21:52 (8 years ago) parent24688a9
1 file changed+6−6
release.nix+6−6
release.nix+6−6
@@ -1,12 +1,12 @@
1−{ self ? import ./. {}
2−, pkgs ? self.nixpkgs
1+{ local-self ? import ./. {}
2+, local-pkgs ? local-self.nixpkgs
33}:
44
5−with pkgs;
5+with local-pkgs.lib;
66
7−{
8− inherit (self) command;
9− built-skeleton = (import ./skeleton {}).all;
7+genAttrs [ "x86_64-linux" "x86_64-darwin" ] (system: {
8+ inherit (import ./. { inherit system; }) command;
9+ built-skeleton = (import ./skeleton { inherit system; }).all;
1010 tests = {
1111 #TODO: Doesn't work; see discussion in https://www.pivotaltracker.com/story/show/157265140
1212 # ob-init = runCommand "ob-init" {