From 3ae72c4f9e32a3416c674da1020e88214bb889bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 22 Jan 2022 14:40:16 +0100 Subject: [PATCH] change the package override method --- config/services/dovecot.nix | 13 ++++++------- result | 1 - 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 120000 result diff --git a/config/services/dovecot.nix b/config/services/dovecot.nix index 0cc11629..7ee68f8b 100644 --- a/config/services/dovecot.nix +++ b/config/services/dovecot.nix @@ -16,13 +16,12 @@ let ''; in { - nixpkgs.overlays = [ - (curr: prev: { - dovecot = prev.dovecot.override { - withPgSQL = true; - }; - }) - ]; + + nixpkgs.config.packageOverrides = pkgs: { + dovecot = pkgs.dovecot.override { + withPgSQL = true; + }; + }; services.dovecot2 = { enable = true; enableImap = true; diff --git a/result b/result deleted file mode 120000 index 6321166f..00000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/752lvbrnyw194m1c5km8yl4ax63d315r-nixos-system-nixos-8gb-fsn1-1-22.05.20220122.14e98e5 \ No newline at end of file