A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make nix flake show --all-systems work (#91)

Before this patch we get:

error: don't yet have a `targetPackages.darwin.LibsystemCross for x86_64-apple-darwin`

authored by

Graham Christensen and committed by
GitHub
e9918bc6 b43d1208

+10 -9
+10 -9
flake.nix
··· 47 47 48 48 attic-nixpkgs = pkgs.callPackage ./package.nix { }; 49 49 50 + attic-ci-installer = pkgs.callPackage ./ci-installer.nix { 51 + inherit self; 52 + }; 53 + 54 + book = pkgs.callPackage ./book { 55 + attic = packages.attic; 56 + }; 57 + } // (lib.optionalAttrs (system != "x86_64-darwin") { 58 + # Unfortunately, x86_64-darwin fails to evaluate static builds 50 59 # TODO: Make this work with Crane 51 60 attic-static = (pkgs.pkgsStatic.callPackage ./package.nix { 52 61 nix = pkgs.pkgsStatic.nix.overrideAttrs (old: { ··· 78 87 attic-client-static = packages.attic-static.override { 79 88 clientOnly = true; 80 89 }; 81 - 82 - attic-ci-installer = pkgs.callPackage ./ci-installer.nix { 83 - inherit self; 84 - }; 85 - 86 - book = pkgs.callPackage ./book { 87 - attic = packages.attic; 88 - }; 89 - } // (lib.optionalAttrs pkgs.stdenv.isLinux { 90 + }) // (lib.optionalAttrs pkgs.stdenv.isLinux { 90 91 attic-server-image = pkgs.dockerTools.buildImage { 91 92 name = "attic-server"; 92 93 tag = "main";