diff --git a/README.md b/README.md index 62836973..88a30b62 100644 --- a/README.md +++ b/README.md @@ -385,7 +385,7 @@ You can also manually edit your own configuration, from scratch: backend.auth.raw = "*****" message.send.backend.type = "smtp" - message.send.backend.host = "smtp.mail.outlook.com" + message.send.backend.host = "smtp-mail.outlook.com" message.send.backend.port = 587 message.send.backend.encryption = "start-tls" message.send.backend.login = "example@outlook.com" diff --git a/default.nix b/default.nix index 7601f57a..f8add8b6 100644 --- a/default.nix +++ b/default.nix @@ -5,17 +5,11 @@ pimalaya.mkDefault ({ src = ./.; version = "1.0.0"; - mkPackage = ({ lib, pkgs, rustPlatform, defaultFeatures, features }: import ./package.nix { + mkPackage = ({ lib, pkgs, rustPlatform, defaultFeatures, features }: pkgs.callPackage ./package.nix { inherit lib rustPlatform; - fetchFromGitHub = pkgs.fetchFromGitHub; - stdenv = pkgs.stdenv; apple-sdk = if pkgs.hostPlatform.isx86_64 then pkgs.apple-sdk_13 else pkgs.apple-sdk_14; - installShellFiles = pkgs.installShellFiles; installShellCompletions = false; installManPages = false; - notmuch = pkgs.notmuch; - gpgme = pkgs.gpgme; - pkg-config = pkgs.pkg-config; buildNoDefaultFeatures = !defaultFeatures; buildFeatures = lib.splitString "," features; });