mirror of
https://github.com/pimalaya/himalaya.git
synced 2024-12-09 21:18:39 +03:00
Merge pull request #511 from KoviRobi/master
Allow using `override` to add features
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user