From db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 12:41:07 +0200 Subject: get uucp to read configs --- custom/uucp.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'custom') diff --git a/custom/uucp.nix b/custom/uucp.nix index e4776ae0..afa40555 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -127,6 +127,12 @@ in { security.setuidOwners = map (p: {program = p; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]; + nixpkgs.config.packageOverrides = pkgs: { + uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { + configureFlags = "--with-newconfigdir=/etc/uucp"; + }); + }; + environment.systemPackages = with pkgs; [uucp]; }; } -- cgit v1.2.3