diff options
author | Emile <git@emile.space> | 2024-09-19 12:10:28 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-09-19 12:10:28 +0200 |
commit | 3bc4a77561522fbb2241eb083f8d55484366c999 (patch) | |
tree | 6da6132b89710324b0e9ac22ab364e080001584b | |
parent | c2be39da2ca4fca94db9fe54984c2a9615d8d878 (diff) |
system specific overlays
-rw-r--r-- | flake.nix | 5 | ||||
-rw-r--r-- | nix/pkgs/aarch64-darwin.nix | 4 | ||||
-rw-r--r-- | nix/pkgs/x86_64-linux.nix | 4 |
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 { }; +} |