Add Nix flake and development shell (#645)

This commit is contained in:
Fag Fag Fag Sahur
2026-09-16 19:19:41 +01:00
committed by GitHub
parent 5b541375a3
commit 10cae50b34
5 changed files with 157 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
description = "KytyPS5 development shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
default = import ./nix/devshell.nix { inherit pkgs; };
});
};
}