diff --git a/core/sql.h b/core/sql.h index 4318e5b..3915d7a 100644 --- a/core/sql.h +++ b/core/sql.h @@ -5,6 +5,7 @@ #include #include #include +#include // DESIGN // the sqlite C API has two kinds of resources: connections and diff --git a/flake.lock b/flake.lock index 4527318..7b7e68c 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1650374568, - "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", "owner": "edolstra", "repo": "flake-compat", - "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", "type": "github" }, "original": { @@ -19,11 +19,11 @@ "mini-compile-commands": { "flake": false, "locked": { - "lastModified": 1668364794, - "narHash": "sha256-6NmqQOJmKtX3gtc8pOnJd7yfXIWX89hwdsq0te8/NwY=", + "lastModified": 1685909220, + "narHash": "sha256-DTYtArvtUMsSyTgniJo4M5fnLRFi/7vFJz3y7F825Mg=", "owner": "danielbarter", "repo": "mini_compile_commands", - "rev": "a609a8cf98e5ea8cafc624e9a5c96f18229c0996", + "rev": "91dd50748107c16dcf695b0da4aaade6b89b9541", "type": "github" }, "original": { @@ -34,11 +34,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1668469466, - "narHash": "sha256-IBkBaXJ9ZQ6stveJctd3e8X6KJl9r0wwaI961TNhw9A=", + "lastModified": 1688767859, + "narHash": "sha256-63kl8GFgy8JdzlPncedvDP7gA72hI1kUzdtSAC9/HmU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d4863da28cc397a1b72c08253cfa38f4c91fc2b7", + "rev": "323442a9e97b39108db20b86110da348373ac992", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 662f2a6..9d930c2 100644 --- a/flake.nix +++ b/flake.nix @@ -38,8 +38,8 @@ in { devShell.x86_64-linux = with import nixpkgs { system = "x86_64-linux"; }; - # (mkShell.override { stdenv = (callPackage mini-compile-commands {}).wrap clang13Stdenv; }) { - (mkShell.override { stdenv = clang13Stdenv; }) { + # (mkShell.override { stdenv = (callPackage mini-compile-commands {}).wrap clangStdenv; }) { + (mkShell.override { stdenv = clangStdenv; }) { buildInputs = [ gcc clang