This commit is contained in:
ulic-youthlic 2025-03-20 09:58:37 +08:00
commit 843eb0938a
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 94 additions and 0 deletions

30
flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs =
{
flake-utils,
nixpkgs,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
gcc
bison
flex
clang-tools
clang
];
};
}
);
}