diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-23 15:35:32 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-23 15:35:32 +0100 |
commit | 2368a4b7e827b985c3758ad0bfe13e4a08d27c36 (patch) | |
tree | b480c3f232ab29fa947e66f4d5b62568c5459f3e /nixops/modules/irc | |
parent | 30a783364abd0afe8399d8f39a251c499451c986 (diff) | |
download | Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.tar.gz Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.tar.zst Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.zip |
Migrate packageOverrides to overlays
Diffstat (limited to 'nixops/modules/irc')
-rw-r--r-- | nixops/modules/irc/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixops/modules/irc/default.nix b/nixops/modules/irc/default.nix index a7e45ba..37cb53b 100644 --- a/nixops/modules/irc/default.nix +++ b/nixops/modules/irc/default.nix | |||
@@ -69,11 +69,11 @@ in | |||
69 | ''; | 69 | ''; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | nixpkgs.config.packageOverrides = oldpkgs: rec { | 72 | nixpkgs.overlays = [ (self: super: rec { |
73 | bitlbee = oldpkgs.bitlbee.overrideAttrs(old: { | 73 | bitlbee = super.bitlbee.overrideAttrs(old: { |
74 | patches = (old.patches or []) ++ [ ./bitlbee_long_nicks.patch ]; | 74 | patches = (old.patches or []) ++ [ ./bitlbee_long_nicks.patch ]; |
75 | }); | 75 | }); |
76 | }; | 76 | }) ]; |
77 | 77 | ||
78 | networking.firewall.allowedTCPPorts = [ 6697 ]; | 78 | networking.firewall.allowedTCPPorts = [ 6697 ]; |
79 | services.bitlbee = { | 79 | services.bitlbee = { |