fzf: build with CGO_ENABLED=0
Since 0.36.0, fzf introduced several go libs that bring CGO dependencies if CGO is enabled. This makes the final binary depend on several non deterministic glibc share libraries. Fix with CGO_ENABLED=0 to make the final binary static.
This commit is contained in:
@@ -44,6 +44,8 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-O6OjBbrVAxDQd27ar2mmFkU1XyVM2C8SJWJ54rgaf2s=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
Reference in New Issue
Block a user