evocation/flake.nix
Irene Knapp 65be4b0cdc
much closer to being able to move to threaded execution
not quite, but very very near

Force-Push: yes
Change-Id: I79ae9f2970e4d7263db5c511e3a5398c22c4771c
2025-10-19 21:49:40 -07:00

37 lines
830 B
Nix

{
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-25.05";
};
};
outputs = { self, nixpkgs }:
let supportedSystems = [ "aarch64-linux" "x86_64-linux" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
in {
packages = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in {
default = pkgs.stdenv.mkDerivation {
src = ./.;
};
});
devShells = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in {
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
binutils
fasm
fasmg
gcc
gdb
nasm
zydis
];
};
});
};
}