2024-03-18 11:25:15 +01:00
|
|
|
{
|
2024-04-18 17:19:37 +02:00
|
|
|
description = "osu clone written in c++ using sfml";
|
2024-03-18 11:25:15 +01:00
|
|
|
|
2024-04-18 17:19:37 +02:00
|
|
|
inputs = {
|
2024-07-16 09:13:50 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-04-18 17:19:37 +02:00
|
|
|
};
|
2024-03-18 11:25:15 +01:00
|
|
|
|
2024-04-18 17:19:37 +02:00
|
|
|
outputs = {nixpkgs, ...}: let
|
|
|
|
systems = ["x86_64-linux" "aarch64-linux"];
|
|
|
|
forEachSystem = nixpkgs.lib.genAttrs systems;
|
|
|
|
pkgsForEach = nixpkgs.legacyPackages;
|
|
|
|
in {
|
|
|
|
devShells = forEachSystem (
|
|
|
|
system: let
|
|
|
|
pkgs = pkgsForEach.${system};
|
2024-04-18 17:46:50 +02:00
|
|
|
in rec {
|
2024-07-16 09:35:09 +02:00
|
|
|
osuplusplus = pkgs.callPackage ./nix/shell.nix {};
|
2024-04-18 17:46:50 +02:00
|
|
|
default = osuplusplus;
|
|
|
|
}
|
|
|
|
);
|
|
|
|
packages = forEachSystem (
|
|
|
|
system: let
|
|
|
|
pkgs = pkgsForEach.${system};
|
|
|
|
in rec {
|
2024-07-16 09:35:09 +02:00
|
|
|
osuplusplus = pkgs.callPackage ./nix/default.nix {};
|
2024-04-18 17:46:50 +02:00
|
|
|
default = osuplusplus;
|
2024-04-18 17:19:37 +02:00
|
|
|
}
|
|
|
|
);
|
|
|
|
};
|
2024-03-18 11:25:15 +01:00
|
|
|
}
|