We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f683a55 commit bcff688Copy full SHA for bcff688
packaging/dependencies.nix
@@ -102,4 +102,18 @@ scope: {
102
./patches/libgit2-packbuilder-callback-interruptible.patch
103
];
104
});
105
+
106
+ # Illustrate the failure for `nlohmann_json` update:
107
+ # https://github.com/NixOS/nix/issues/13046
108
+ # It exposes `nix` bug in getInteger() where underlying
109
+ # json representation is unsigned.
110
+ nlohmann_json = pkgs.nlohmann_json.overrideAttrs (oa: {
111
+ src = pkgs.fetchFromGitHub {
112
+ owner = "nlohmann";
113
+ repo = "json";
114
+ rev = "v3.12.0";
115
+ hash = "sha256-cECvDOLxgX7Q9R3IE86Hj9JJUxraDQvhoyPDF03B2CY=";
116
+ };
117
+ cmakeFlags = oa.cmakeFlags ++ [ "-DCMAKE_INSTALL_INCLUDEDIR=include" ];
118
+ });
119
}
0 commit comments