tinyemu/flake.nix

26 lines
572 B
Nix

# Template: https://nixos-and-flakes.thiscute.world/development/intro
{
description = "TinyEMU Nix Dev Shell (Flake-Based)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
};
outputs = {nixpkgs, ...}: let
# system should match the system you are running on
system = "x86_64-linux";
in {
devShells."${system}".default = let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.mkShell {
packages = with pkgs; [
openssl
gnumake
emscripten
];
};
};
}