rush/flake.nix
2025-02-24 13:14:44 +01:00

25 lines
612 B
Nix

{
description = "Rush - endless runner for Playdate";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
playdate-sdk = {
url = "github:RegularTetragon/playdate-sdk-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, playdate-sdk }:
let system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
playdate-sdk-pkg = playdate-sdk.packages.${system}.default;
in {
devShell.${system} = with pkgs;
mkShell {
nativeBuildInputs = [
playdate-sdk-pkg
];
};
};
}