on master help sign in
Cache macOS as well as linux
d7f3f8aRyan Trinkle
release.nix+6−6
@@ -1,12 +1,12 @@
1−{ self ? import ./. {}
1+{ local-self ? import ./. {}
2−, pkgs ? self.nixpkgs
2+, local-pkgs ? local-self.nixpkgs
3}:
3}:
4
4
5−with pkgs;
5+with local-pkgs.lib;
6
6
7−{
7+genAttrs [ "x86_64-linux" "x86_64-darwin" ] (system: {
8− inherit (self) command;
8+ inherit (import ./. { inherit system; }) command;
9− built-skeleton = (import ./skeleton {}).all;
9+ built-skeleton = (import ./skeleton { inherit system; }).all;
10 tests = {
10 tests = {
11 #TODO: Doesn't work; see discussion in https://www.pivotaltracker.com/story/show/157265140
11 #TODO: Doesn't work; see discussion in https://www.pivotaltracker.com/story/show/157265140
12 # ob-init = runCommand "ob-init" {
12 # ob-init = runCommand "ob-init" {