treewide: Make all the rest of configureFlags

This commit is contained in:
John Ericson
2018-08-03 17:06:03 -04:00
parent f92ed87372
commit f0d6b385d1
19 changed files with 49 additions and 30 deletions
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
preCheck = stdenv.lib.optional doCheck ''
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
'';
configureFlags = if withJson then "--json" else "";
configureFlags = stdenv.lib.optional withJson "--json";
preBuild=''
export USER=nonexistent-but-specified-user