treewide: replace make/build/configure/patchFlags with nix lists
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
makefile = "Makefile.unx";
|
||||
makeFlags = "ZPATH=${zlib.static}/lib";
|
||||
makeFlags = [ "ZPATH=${zlib.static}/lib" ];
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
|
||||
@@ -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'';
|
||||
|
||||
Reference in New Issue
Block a user