Add flake.nix and direnv (#254)

This commit is contained in:
Paul S.
2025-04-17 14:55:06 +01:00
committed by GitHub
parent e1d26cb141
commit 734b7c3542
4 changed files with 92 additions and 0 deletions

28
flake.nix Normal file
View File

@@ -0,0 +1,28 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/24.05";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{ self
, nixpkgs
, flake-utils
,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
python3
dmg2img
qemu_kvm
];
};
}
);
}