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
|
||||
, lib
|
||||
, nixFlakes
|
||||
, nixUnstable
|
||||
, meson
|
||||
, cmake
|
||||
, ninja
|
||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
src = if srcDir == null then filterMesonBuild ./. else srcDir;
|
||||
buildInputs = [
|
||||
nlohmann_json
|
||||
nixFlakes
|
||||
nixUnstable
|
||||
boost
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1637048323,
|
||||
"narHash": "sha256-h2m2LuUEbV5pvNjXoWbk2rAaBAQAsf3cvJXS8DGi+Bo=",
|
||||
"lastModified": 1639573498,
|
||||
"narHash": "sha256-YAoywqjyjOJYuEZpA8sln84jk99GG9hYbPEYXwGEGGM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6b68d74f036def3d48a23969edfd0fa47f34af3e",
|
||||
"rev": "aef12c8678fd5e927edba764bd04f3ba2930ae15",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -188,7 +188,7 @@ static void worker(
|
|||
continue;
|
||||
}
|
||||
|
||||
printValueAsJSON(state, true, *metaValue, ss, context);
|
||||
printValueAsJSON(state, true, *metaValue, noPos, ss, context);
|
||||
nlohmann::json field = nlohmann::json::parse(ss.str());
|
||||
meta[name] = field;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue