From 4377a792d4ed629d24f9569df7c0af68dc517847 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 16 Aug 2024 14:18:07 -0700 Subject: [PATCH] linux-router: remove with statements --- pkgs/tools/networking/linux-router/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/linux-router/default.nix b/pkgs/tools/networking/linux-router/default.nix index b5cc9ef6f5dd..728954cf403e 100644 --- a/pkgs/tools/networking/linux-router/default.nix +++ b/pkgs/tools/networking/linux-router/default.nix @@ -55,15 +55,15 @@ stdenv.mkDerivation rec { dontBuild = true; - installPhase = with lib; let - binPath = makeBinPath ([ procps iproute2 getopt bash dnsmasq + installPhase = let + binPath = lib.makeBinPath ([ procps iproute2 getopt bash dnsmasq iptables coreutils which flock gnugrep gnused gawk ] - ++ optional useNetworkManager networkmanager - ++ optional useWifiDependencies hostapd - ++ optional useWifiDependencies iw - ++ optional (useWifiDependencies && useWirelessTools) wirelesstools - ++ optional (useWifiDependencies && useHaveged) haveged - ++ optional (useWifiDependencies && useQrencode) qrencode); + ++ lib.optional useNetworkManager networkmanager + ++ lib.optional useWifiDependencies hostapd + ++ lib.optional useWifiDependencies iw + ++ lib.optional (useWifiDependencies && useWirelessTools) wirelesstools + ++ lib.optional (useWifiDependencies && useHaveged) haveged + ++ lib.optional (useWifiDependencies && useQrencode) qrencode); in '' mkdir -p $out/bin/ $out/.bin-wrapped