This commit is contained in:
2026-05-18 18:09:35 +00:00
commit 7f31f3ea5f
5 changed files with 125 additions and 0 deletions

28
build/flake.nix Normal file
View File

@@ -0,0 +1,28 @@
{
description = "greeter";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb";
flake-utils.url = "github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShell = pkgs.gcc15Stdenv.mkDerivation {
name = "shell";
version = "1.0";
nativeBuildInputs = [
pkgs.ninja
pkgs.cmake
];
buildInputs = [
];
hardeningDisable = [
"all"
];
};
});
}