forked from lix-project/nix-eval-jobs
fix build against nixUnstable
This commit is contained in:
parent
23523075c2
commit
c297bd9564
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, nixFlakes
|
, nixUnstable
|
||||||
, meson
|
, meson
|
||||||
, cmake
|
, cmake
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||||
src = if srcDir == null then filterMesonBuild ./. else srcDir;
|
src = if srcDir == null then filterMesonBuild ./. else srcDir;
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nlohmann_json
|
nlohmann_json
|
||||||
nixFlakes
|
nixUnstable
|
||||||
boost
|
boost
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637048323,
|
"lastModified": 1639573498,
|
||||||
"narHash": "sha256-h2m2LuUEbV5pvNjXoWbk2rAaBAQAsf3cvJXS8DGi+Bo=",
|
"narHash": "sha256-YAoywqjyjOJYuEZpA8sln84jk99GG9hYbPEYXwGEGGM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6b68d74f036def3d48a23969edfd0fa47f34af3e",
|
"rev": "aef12c8678fd5e927edba764bd04f3ba2930ae15",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -188,7 +188,7 @@ static void worker(
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
printValueAsJSON(state, true, *metaValue, ss, context);
|
printValueAsJSON(state, true, *metaValue, noPos, ss, context);
|
||||||
nlohmann::json field = nlohmann::json::parse(ss.str());
|
nlohmann::json field = nlohmann::json::parse(ss.str());
|
||||||
meta[name] = field;
|
meta[name] = field;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue