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
This commit is contained in:
Harsh Shandilya 2022-01-23 14:35:26 +05:30
parent 9cd489ae82
commit a357b02712
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -1,5 +1,6 @@
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
RUSTFLAGS = "";
buildInputs = [
(rust-bin.selectLatestNightlyWith (toolchain:
toolchain.default.override {