diff --git a/flake.lock b/flake.lock index 0b2231db3..01a00eb59 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1636968630, - "narHash": "sha256-/C8OVV8mo9M9MgQprHo4A5bM9waWMsw6PI4hb4DnGaA=", + "lastModified": 1639051343, + "narHash": "sha256-62qARP+5Q0GmudcpuQHJP3/yXIgmUVoHR4orD/+FAC4=", "owner": "nix-community", "repo": "naersk", - "rev": "55c4c0288ea3f115b5dd73af88052c4712994746", + "rev": "ebde51ec0eec82dc71eaca03bc24cf8eb44a3d74", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1637186689, - "narHash": "sha256-NU7BhgnwA/3ibmCeSzFK6xGi+Bari9mPfn+4cBmyEjw=", + "lastModified": 1639566195, + "narHash": "sha256-ZnTBGSV6bTwopdDibmsBaAkedmTZC/rOgwQzOGcOD+s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7fad01d9d5a3f82081c00fb57918d64145dc904c", + "rev": "3c52ea8c9216a0d5b7a7b4d74a9d2e858b06df5c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 2b303d6d9..add005629 100644 --- a/flake.nix +++ b/flake.nix @@ -57,8 +57,9 @@ PGX_PG_SYS_SKIP_BINDING_REWRITE = "1"; BINDGEN_EXTRA_CLANG_ARGS = [ ''-I"${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include"'' + ] ++ (if pkgs.stdenv.isLinux then [ "-I ${pkgs.glibc.dev}/include" - ]; + ] else [ ]); }); checks = forAllSystems (system: