summary refs log tree commit diff
path: root/pkgs/development/tools/rust/maturin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/rust/maturin/default.nix')
-rw-r--r--pkgs/development/tools/rust/maturin/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix
index b2340b21689..ff52824ef9a 100644
--- a/pkgs/development/tools/rust/maturin/default.nix
+++ b/pkgs/development/tools/rust/maturin/default.nix
@@ -19,8 +19,8 @@ in rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ gmp openssl ]
-    ++ stdenv.lib.optional stdenv.isDarwin Security
-    ++ stdenv.lib.optional stdenv.isLinux dbus;
+    ++ lib.optional stdenv.isDarwin Security
+    ++ lib.optional stdenv.isLinux dbus;
 
   # Requires network access, fails in sandbox.
   doCheck = false;