This commit is contained in:
Jonas Hahn
2025-08-31 01:03:32 +02:00
parent 6eed1f75eb
commit 4df7d2eaa0
7 changed files with 348 additions and 0 deletions

26
flake.nix Normal file
View File

@@ -0,0 +1,26 @@
{
description = "Minimal zig environment";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.mkShell {
name = "cwr-sose25-shell";
# Things to be available in the shell
buildInputs = [
pkgs.zig
pkgs.zls
];
};
}
);
}