From a357b02712c3c32abe04b1df0da6eb3404eb16b6 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 23 Jan 2022 14:35:26 +0530 Subject: [PATCH] nix: suppress RUSTFLAGS manipulation My global rustflags configuration cause this binary to be incorrectly linked so this workaround prevents the global rustflags from being applied to this build --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index 1c2e158..3c6c668 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,6 @@ with import { overlays = [ (import ) ]; }; mkShell { + RUSTFLAGS = ""; buildInputs = [ (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {