summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-06-06 18:05:19 +1200
committerDylan <boss@tehbox.org>2026-06-06 18:05:19 +1200
commit46c896bcd78d31130321562b0659e28230261b8e (patch)
tree66174f484693763b7a7ca678fda8ea4b2b98cbe7 /flake.nix
downloadtehjson-46c896bcd78d31130321562b0659e28230261b8e.tar.gz
tehjson-46c896bcd78d31130321562b0659e28230261b8e.zip
feat: Initial commit, json data structure and serializing to json
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..18ad6d2
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,19 @@
+{
+ description = "default c++ flake";
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
+ flake-utils.url = "github:numtide/flake-utils";
+ };
+ outputs = { self, nixpkgs, ... }@inputs:
+ inputs.flake-utils.lib.eachDefaultSystem (system: let
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ devShells.default = pkgs.mkShell {
+ nativeBuildInputs = [
+ pkgs.gcc
+ pkgs.gnumake
+ pkgs.clang-tools
+ ];
+ };
+ });
+}