26 lines
528 B
Nix
26 lines
528 B
Nix
{
|
|
description = "xchg rax, rax";
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
in
|
|
{
|
|
devShells = forAllSystems (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
default = pkgs.mkShell {
|
|
buildInputs = with pkgs;
|
|
[
|
|
gdb
|
|
gnumake
|
|
nasm
|
|
];
|
|
};
|
|
});
|
|
};
|
|
}
|