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/ftp | |
parent | 30a783364abd0afe8399d8f39a251c499451c986 (diff) | |
download | Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.tar.gz Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.tar.zst Nix-2368a4b7e827b985c3758ad0bfe13e4a08d27c36.zip |
Migrate packageOverrides to overlays
Diffstat (limited to 'nixops/modules/ftp')
-rw-r--r-- | nixops/modules/ftp/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixops/modules/ftp/default.nix b/nixops/modules/ftp/default.nix index 7f3fd62..af9a75c 100644 --- a/nixops/modules/ftp/default.nix +++ b/nixops/modules/ftp/default.nix | |||
@@ -19,9 +19,9 @@ | |||
19 | extraDomains = { "ftp.immae.eu" = null; }; | 19 | extraDomains = { "ftp.immae.eu" = null; }; |
20 | }; | 20 | }; |
21 | 21 | ||
22 | nixpkgs.config.packageOverrides = oldpkgs: rec { | 22 | nixpkgs.overlays = [ (self: super: { |
23 | pure-ftpd = pkgs.callPackage ./pure-ftpd.nix {}; | 23 | pure-ftpd = self.callPackage ./pure-ftpd.nix {}; |
24 | }; | 24 | }) ]; |
25 | 25 | ||
26 | networking = { | 26 | networking = { |
27 | firewall = { | 27 | firewall = { |