treewide: replace make/build/configure/patchFlags with nix lists

This commit is contained in:
Merijn Broeren
2019-12-30 12:58:11 +01:00
committed by Jan Tojnar
parent 08d5fc3934
commit 133103d709
248 changed files with 336 additions and 335 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
makeFlags = "CC=${stdenv.cc.outPath}/bin/cc";
makeFlags = [ "CC=${stdenv.cc.outPath}/bin/cc" ];
installPhase = ''
mkdir -p $out/bin
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ qtbase gsl getdata netcdf muparser matio ];
cmakeFlags = "-Dkst_qt5=1 -Dkst_release=1";
cmakeFlags = [ "-Dkst_qt5=1" "-Dkst_release=1" ];
postInstall = ''
mkdir -p $out
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
makefile = "Makefile.unx";
makeFlags = "ZPATH=${zlib.static}/lib";
makeFlags = [ "ZPATH=${zlib.static}/lib" ];
buildInputs = [ zlib ];
+1 -1
View File
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
mkdir -p "$out"/{bin,lib,include}
find . -maxdepth 1 -type f -perm -0100 -exec cp '{}' "$out"/bin ';'
'';
makeFlags = "PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ];
meta = {
inherit (s) version;
description = ''A small QR code decoding library'';