🎉」 init(2025): day 1

This commit is contained in:
2025-12-01 11:25:06 +01:00
commit 6306ab23d1
52 changed files with 2012 additions and 0 deletions

23
2024/day06/flake.nix Normal file
View File

@@ -0,0 +1,23 @@
{
description = "a development environment for the c programming language";
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.11";
};
outputs = { self, flake-utils, nixpkgs, ... }:
flake-utils.lib.eachDefaultSystem(system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ clang gcc valgrind gdb ];
hardeningDisable = [ "all" ];
buildInputs = with pkgs; [];
shellHook = ''
echo -e "\x1B[0;33mentering c environment...\x1B[0m"
'';
};
});
}