From 16c69270ae96fadd6a1f39f3ef91fdc535ea03bd Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 3 Nov 2017 14:36:15 +0000 Subject: [PATCH] reaverwps-t6x: fix build --- pkgs/tools/networking/reaver-wps-t6x/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/reaver-wps-t6x/default.nix b/pkgs/tools/networking/reaver-wps-t6x/default.nix index 6e4a5561f07a..2f0e19b231c0 100644 --- a/pkgs/tools/networking/reaver-wps-t6x/default.nix +++ b/pkgs/tools/networking/reaver-wps-t6x/default.nix @@ -15,7 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; buildInputs = [ libpcap sqlite pixiewps ]; - sourceRoot = "reaver-wps-fork-t6x-v${version}-src/src"; + setSourceRoot = '' + sourceRoot=$(echo */src) + ''; configureFlags = "--sysconfdir=${confdir}";