From bd3110d0711a77a4aa0682098d6358b46e2fa1a2 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 6 Dec 2024 16:28:41 -0500 Subject: [PATCH] Fix env var map --- flake.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index a706b91..ca993cf 100644 --- a/flake.nix +++ b/flake.nix @@ -64,10 +64,8 @@ buildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]); nativeBuildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; } // pkgs.lib.optionalAttrs pkgs.stdenv.isLinux { - env = { - CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl"; - CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static"; - }; + CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl"; + CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static"; }; });