Add justfile

Update lock
Add treefmt
This commit is contained in:
2026-03-27 18:58:06 +01:00
parent 23dc86ce8a
commit b917a895f0
4 changed files with 51 additions and 27 deletions

View File

@@ -2,30 +2,30 @@
description = "Central C++ Dev Shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
outputs =
{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
cmake
ninja
gdb
pkg-config
valgrind
bind
perf
];
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
cmake
ninja
gdb
pkg-config
valgrind
bind
perf
];
buildInputs = with pkgs; [
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
'';
};
buildInputs = with pkgs; [
];
shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
'';
};
};
}