diff options
author | Emile <git@emile.space> | 2023-07-16 01:49:27 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2023-07-16 01:49:27 +0200 |
commit | 98e382b33f2e4bc63cf86e120c4e68f2e05d1ab4 (patch) | |
tree | 1651a8f54333ffdf55607e10863fc1100aeeca79 | |
parent | 6b79cceae2f71a388cafd20d39fea6bc427ca7ce (diff) |
arch stuff
-rw-r--r-- | flake.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix index bc3308a..149edc0 100644 --- a/flake.nix +++ b/flake.nix @@ -12,13 +12,12 @@ }; naersk' = pkgs.callPackage naersk {}; - - in rec { - packages."x86_64-linux".r2wars-rs = naersk'.buildPackage { + + r2wars-rs = naersk'.buildPackage { src = ./.; meta = with pkgs.lib; { - description = "yet another r2wars implementation"; + description = "Yet another r2wars implementation"; homepage = "https://git.emile.space/hanemile/r2wars-rs"; license = licenses.mit; platforms = platforms.all; @@ -27,6 +26,10 @@ ]; }; }; + + in rec { + packages."x86_64-linux".r2wars-rs = r2wars-rs; + packages."aarch64-darwin".r2wars-rs = r2wars-rs; # For `nix build` & `nix run`: defaultPackage = packages."x86_64-linux".r2wars-rs; @@ -39,6 +42,7 @@ # hydraJobs."<attr>"."<system>" = derivation; hydraJobs = { build."x86_64-linux" = packages."x86_64-linux".r2wars-r2; + build."aarch64-darwin" = packages."aarch64-darwin".r2wars-r2; }; }; } \ No newline at end of file |