1
0

Enable package for x86_64 too

This commit is contained in:
Thibault “Adædra” Hamel 2024-04-17 22:52:35 +02:00
parent 6191e420b8
commit 63a234a93a

View File

@ -1,7 +1,7 @@
{ {
outputs = { self, nixpkgs }: { outputs = { self, nixpkgs }: {
packages.aarch64-darwin = let packages = (nixpkgs.lib.attrsets.genAttrs ["x86_64-darwin" "aarch64-darwin"] (system: let
pkgs = import nixpkgs { system = "aarch64-darwin"; }; pkgs = import nixpkgs { inherit system; };
in { in {
default = pkgs.stdenv.mkDerivation { default = pkgs.stdenv.mkDerivation {
# Based on https://gist.github.com/thelastlin/c45b96cf460919e39ab5807b6d20ac2a # Based on https://gist.github.com/thelastlin/c45b96cf460919e39ab5807b6d20ac2a
@ -33,6 +33,6 @@
cp libsk-libfido2.dylib "$out/libexec/" cp libsk-libfido2.dylib "$out/libexec/"
''; '';
}; };
}; }));
}; };
} }