From 78adcf86dcf5879450cc3708ca1a20e73f9cf1bf Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Mon, 18 Jan 2021 10:34:53 -0700 Subject: [PATCH] default: build all platforms in ci --- default.nix | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/default.nix b/default.nix index 3c08d63..85206d4 100644 --- a/default.nix +++ b/default.nix @@ -1,10 +1,15 @@ -(import - ( - fetchTarball { - url = "https://github.com/edolstra/flake-compat/archive/99f1c2157fba4bfe6211a321fd0ee43199025dbf.tar.gz"; - sha256 = "sha256:0x2jn3vrawwv9xp15674wjz9pixwjyj3j771izayl962zziivbx2"; - } - ) - { - src = ./.; - }).defaultNix.packages.x86_64-linux +let + inherit (flake.inputs.nixos.lib) recurseIntoAttrs mapAttrs; + flake = (import + ( + fetchTarball { + url = "https://github.com/edolstra/flake-compat/archive/99f1c2157fba4bfe6211a321fd0ee43199025dbf.tar.gz"; + sha256 = "sha256:0x2jn3vrawwv9xp15674wjz9pixwjyj3j771izayl962zziivbx2"; + } + ) + { + src = ./.; + }).defaultNix; + recurse = mapAttrs (_: v: recurseIntoAttrs v) flake.packages; +in +recurse