diff --git a/pkgs/applications/science/logic/elan/default.nix b/pkgs/applications/science/logic/elan/default.nix index cc4f0680de3e..4326c5b0d6b9 100644 --- a/pkgs/applications/science/logic/elan/default.nix +++ b/pkgs/applications/science/logic/elan/default.nix @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ curl zlib openssl ] ++ lib.optional stdenv.isDarwin libiconv; - cargoBuildFlags = [ "--features no-self-update" ]; + buildFeatures = [ "no-self-update" ]; patches = lib.optionals stdenv.isLinux [ # Run patchelf on the downloaded binaries.