From 14ace3e43de33fa098445ecfe3f6e91125eca9c1 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 9 Apr 2021 23:31:48 -0400 Subject: [PATCH] unncessary --- flake.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index b229835..088f803 100644 --- a/flake.nix +++ b/flake.nix @@ -56,16 +56,13 @@ # configure non-Rust dependencies (see below) here. ${name} = oldAttrs: { inherit buildInputs nativeBuildInputs; - } // buildEnvVars; + }; }; }; # Configuration for the non-Rust dependencies buildInputs = with pkgs; [ openssl.dev ]; nativeBuildInputs = with pkgs; [ rustc cargo pkgconfig nixpkgs-fmt ]; - buildEnvVars = { - PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; - }; in rec { packages.${name} = project.rootCrate.build; @@ -85,7 +82,7 @@ { inherit buildInputs nativeBuildInputs; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; - } // buildEnvVars; + }; } ); }