Merge pull request #511 from KoviRobi/master

Allow using `override` to add features
This commit is contained in:
Clément DOUIN
2024-12-05 06:33:18 +01:00
committed by GitHub
2 changed files with 2 additions and 8 deletions

View File

@@ -385,7 +385,7 @@ You can also manually edit your own configuration, from scratch:
backend.auth.raw = "*****" backend.auth.raw = "*****"
message.send.backend.type = "smtp" 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.port = 587
message.send.backend.encryption = "start-tls" message.send.backend.encryption = "start-tls"
message.send.backend.login = "example@outlook.com" message.send.backend.login = "example@outlook.com"

View File

@@ -5,17 +5,11 @@
pimalaya.mkDefault ({ pimalaya.mkDefault ({
src = ./.; src = ./.;
version = "1.0.0"; 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; 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; apple-sdk = if pkgs.hostPlatform.isx86_64 then pkgs.apple-sdk_13 else pkgs.apple-sdk_14;
installShellFiles = pkgs.installShellFiles;
installShellCompletions = false; installShellCompletions = false;
installManPages = false; installManPages = false;
notmuch = pkgs.notmuch;
gpgme = pkgs.gpgme;
pkg-config = pkgs.pkg-config;
buildNoDefaultFeatures = !defaultFeatures; buildNoDefaultFeatures = !defaultFeatures;
buildFeatures = lib.splitString "," features; buildFeatures = lib.splitString "," features;
}); });