From 3bc4a77561522fbb2241eb083f8d55484366c999 Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 19 Sep 2024 12:10:28 +0200 Subject: system specific overlays --- flake.nix | 5 +++++ nix/pkgs/aarch64-darwin.nix | 4 ++++ nix/pkgs/x86_64-linux.nix | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 nix/pkgs/aarch64-darwin.nix create mode 100644 nix/pkgs/x86_64-linux.nix 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 { }; +} -- cgit 1.4.1