a
This commit is contained in:
parent
2e48a2a467
commit
0703c3be34
2 changed files with 54 additions and 2 deletions
54
flake.nix
54
flake.nix
|
|
@ -90,6 +90,59 @@
|
|||
overlays = [
|
||||
self.overlays.default
|
||||
emacs-overlay.overlay
|
||||
(final: prev: {
|
||||
python3 = prev.python3.override {
|
||||
packageOverrides = pyself: pysuper: {
|
||||
notmuch2 = pysuper.notmuch2.overridePythonAttrs (old: {
|
||||
postPatch = old.postPatch + ''sed -i "s|/private.*/notmuch-${old.version}/|$(pwd)/../../|g" _notmuch_config.py'';
|
||||
meta.broken = null;
|
||||
});
|
||||
};
|
||||
};
|
||||
alot = prev.alot.overrideAttrs
|
||||
(super: {
|
||||
meta.platforms = lib.platforms.unix;
|
||||
disabledTests = super.disabledTests ++ [
|
||||
"test_returned_string_starts_with_pgp"
|
||||
"test_returned_string_is_lower_case"
|
||||
"test_raises_for_unknown_hash_name"
|
||||
"test_valid_signature_generated"
|
||||
"test_verify_signature_good"
|
||||
"test_verify_signature_bad"
|
||||
"test_valid"
|
||||
"test_revoked"
|
||||
"test_expired"
|
||||
"test_invalid"
|
||||
"test_encrypt"
|
||||
"test_encrypt_no_check"
|
||||
"test_sign"
|
||||
"test_sign_no_check"
|
||||
"test_valid_single"
|
||||
"test_valid_multiple"
|
||||
"test_invalid_email"
|
||||
"test_invalid_revoked"
|
||||
"test_invalid_invalid"
|
||||
"test_invalid_not_enough_trust"
|
||||
"test_list_no_hints"
|
||||
"test_list_hint"
|
||||
"test_list_keys_pub"
|
||||
"test_list_keys_private"
|
||||
"test_plain"
|
||||
"test_validate"
|
||||
"test_missing_key"
|
||||
"test_invalid_key"
|
||||
"test_signed_only_true"
|
||||
"test_signed_only_false"
|
||||
"test_ambiguous_one_valid"
|
||||
"test_ambiguous_two_valid"
|
||||
"test_ambiguous_no_valid"
|
||||
"test_encrypt"
|
||||
"test_decrypt"
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
})
|
||||
];
|
||||
genPkgsWithOverlays = system: import nixpkgs {
|
||||
inherit system overlays;
|
||||
|
|
@ -147,6 +200,7 @@
|
|||
modules = [
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
#system.darwinLabel = "${config.system.darwinLabel}@${rev}";
|
||||
networking.hostName = hostName;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ let
|
|||
myEmacs = pkgs.emacsNativeComp;
|
||||
in
|
||||
{
|
||||
nixpkgs.config.allowBroken = true;
|
||||
nixpkgs.config.allowUnsupportedSystem = true;
|
||||
|
||||
users.users.ragon = {
|
||||
name = "ragon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue