From 63a234a93a9e4de209e79733f94e773e39a64722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20=E2=80=9CAd=C3=A6dra=E2=80=9D=20Hamel?= Date: Wed, 17 Apr 2024 22:52:35 +0200 Subject: [PATCH] Enable package for x86_64 too --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 7b60d1c..09e0e6b 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { outputs = { self, nixpkgs }: { - packages.aarch64-darwin = let - pkgs = import nixpkgs { system = "aarch64-darwin"; }; + packages = (nixpkgs.lib.attrsets.genAttrs ["x86_64-darwin" "aarch64-darwin"] (system: let + pkgs = import nixpkgs { inherit system; }; in { default = pkgs.stdenv.mkDerivation { # Based on https://gist.github.com/thelastlin/c45b96cf460919e39ab5807b6d20ac2a @@ -33,6 +33,6 @@ cp libsk-libfido2.dylib "$out/libexec/" ''; }; - }; + })); }; }