about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--flake.nix5
-rw-r--r--nix/pkgs/aarch64-darwin.nix4
-rw-r--r--nix/pkgs/x86_64-linux.nix4
3 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index cfaf941..3668e74 100644
--- a/flake.nix
+++ b/flake.nix
@@ -133,7 +133,12 @@
 
       overlays = {
         emile = import ./nix/pkgs/overlay.nix;
+
+        x86_64-linux = import ./nix/pkgs/x86.nix;
+        aarch64-darwin = import ./nix/pkgs/aarch64-darwin.nix;
+
         default = self.overlays.x86_64-linux;
+
         unstable = final: prev: {
           unstable = import nixpkgs-unstable {
             system = "x86_64-linux";
diff --git a/nix/pkgs/aarch64-darwin.nix b/nix/pkgs/aarch64-darwin.nix
new file mode 100644
index 0000000..c5ecaa7
--- /dev/null
+++ b/nix/pkgs/aarch64-darwin.nix
@@ -0,0 +1,4 @@
+final: prev: {
+  vokobe = final.callPackage ./vokobe { inherit (final) naersk; };
+  r2wars-web = final.callPackage ./r2wars-web { };
+}
diff --git a/nix/pkgs/x86_64-linux.nix b/nix/pkgs/x86_64-linux.nix
new file mode 100644
index 0000000..c5ecaa7
--- /dev/null
+++ b/nix/pkgs/x86_64-linux.nix
@@ -0,0 +1,4 @@
+final: prev: {
+  vokobe = final.callPackage ./vokobe { inherit (final) naersk; };
+  r2wars-web = final.callPackage ./r2wars-web { };
+}