From 69dd053da3673e97c888bbd5d8afc1ec0224b6a4 Mon Sep 17 00:00:00 2001 From: bryango Date: Mon, 2 Oct 2023 14:27:57 +0800 Subject: [PATCH] flake.nix: add workaround for ipetkov/crane#385 See: - https://github.com/ipetkov/crane/issues/385 - https://github.com/linyinfeng/oranc/commit/c63221745166e2af69b7bf5e937236dd3197bb29 --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index f4f2ed9..7dc9857 100644 --- a/flake.nix +++ b/flake.nix @@ -85,6 +85,8 @@ nativeBuildInputs = [ pkg-config ]; + # https://github.com/ipetkov/crane/issues/385 + doNotLinkInheritedArtifacts = true; }; # Build only the cargo dependencies