From 6051803b83e7ef45b6f328a29fd3aa9f4ba78c0c Mon Sep 17 00:00:00 2001 From: Minghong Xu Date: Fri, 12 Jan 2024 14:17:32 +0000 Subject: [PATCH] build(flake): how to parameterise over system? Bibliography: - https://github.com/NixOS/nix/issues/3843 - https://ayats.org/blog/no-flake-utils - https://github.com/hercules-ci/flake-parts --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6c93705..0d7f444 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,8 @@ utils, ... }: - utils.lib.eachDefaultSystem (system: let + utils.lib.eachDefaultSystem (system: # FIXME: outputs for multiple systems + let pkgs = import nixpkgs { inherit system; };