From ce36f634c16241504d7ef94e358ce820d86e7218 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Sat, 29 Sep 2018 05:01:21 -0700 Subject: [PATCH] wireguard-tools: Fix build --- pkgs/tools/networking/wireguard-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/wireguard-tools/default.nix b/pkgs/tools/networking/wireguard-tools/default.nix index 4f71d6bc2e4..3f1949d4bb6 100644 --- a/pkgs/tools/networking/wireguard-tools/default.nix +++ b/pkgs/tools/networking/wireguard-tools/default.nix @@ -13,8 +13,8 @@ stdenv.mkDerivation rec { sourceRoot = "source/src/tools"; - nativeBuildInputs = [ (optional stdenv.isDarwin makeWrapper) ]; - buildInputs = [ (optional stdenv.isLinux libmnl) ]; + nativeBuildInputs = optional stdenv.isDarwin makeWrapper; + buildInputs = optional stdenv.isLinux libmnl; makeFlags = [ "DESTDIR=$(out)"