From f8869bdcca7c1d5aaf37de3da3a4176811279a57 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Tue, 25 Jun 2024 23:57:51 +0200 Subject: [PATCH] update for lix 2.91-dev the api of nix::Pid changed, causing a build failure. --- flake.lock | 8 ++++---- src/nix-eval-jobs.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index b864e06..a5f6e77 100644 --- a/flake.lock +++ b/flake.lock @@ -47,11 +47,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1718767907, - "narHash": "sha256-gpd+mGQxqVHw2kO6rSPQel8TkChHh9UpqxjsmQi0QJM=", - "rev": "85f282ef572577899b3d80ba8def1b920a386218", + "lastModified": 1719348166, + "narHash": "sha256-GK6PusfbMgkg+qdgChmrw78KTNQkm7SDoJ6+lJKY6vg=", + "rev": "f170870ae7b18c8ee13fb42fe19b5aa05ddf56c0", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/85f282ef572577899b3d80ba8def1b920a386218.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/f170870ae7b18c8ee13fb42fe19b5aa05ddf56c0.tar.gz" }, "original": { "type": "tarball", diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index ca935af..ea45a41 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -93,7 +93,7 @@ struct Proc { to = std::move(toPipe.writeSide); from = std::move(fromPipe.readSide); - pid = p; + pid = std::move(p); } ~Proc() {}