Convert some *Flags from strings to lists

This commit is contained in:
Tobias Geerinckx-Rice
2015-11-26 18:44:44 +01:00
parent 8fe518e763
commit 2798b02ad0
26 changed files with 62 additions and 48 deletions

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
-e "s|/usr/share/dstat|$out/share/dstat|" dstat
'';
makeFlags = "prefix=$(out)";
makeFlags = [ "prefix=$(out)" ];
postInstall = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"

View File

@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
--replace "'which'" "'${which}/bin/which'"
'';
makeFlagsArray = "PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
inherit version;

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation {
substituteInPlace freefall.c --replace "alarm(2)" "alarm(7)"
'';
makeFlags = "PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Free-fall protection for spinning HP/Dell laptop hard drives";

View File

@@ -1,7 +1,8 @@
{ stdenv, fetchurl, ncurses }:
let version = "1.0"; in
stdenv.mkDerivation rec {
name = "ftop-1.0";
name = "ftop-${version}";
src = fetchurl {
url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
@@ -14,18 +15,19 @@ stdenv.mkDerivation rec {
./ftop-fix_buffer_overflow.patch
./ftop-fix_printf_format.patch
];
patchFlags = "-p0";
patchFlags = [ "-p0" ];
postPatch = ''
substituteInPlace configure --replace "curses" "ncurses"
'';
meta = with stdenv.lib; {
inherit version;
description = "Show progress of open files and file systems";
homepage = https://code.google.com/p/ftop/;
license = licenses.gpl3Plus;
longDescription = ''
Ftop is to files what top is to processes. The progress of all open files
ftop is to files what top is to processes. The progress of all open files
and file systems can be monitored. If run as a regular user, the set of
open files will be limited to those in that user's processes (which is
generally all that is of interest to the user).

View File

@@ -22,7 +22,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
installFlags = "DESTDIR=$(out) prefix= DOCDIR=/share/doc";
installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ];
meta = with stdenv.lib; {
inherit version;

View File

@@ -20,9 +20,10 @@ stdenv.mkDerivation {
substituteInPlace getver.sh --replace ver=unknown ver=${version}
'';
makeFlags = "PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
inherit version;
description = "Top-like tool for viewing AMD Radeon GPU utilization";
longDescription = ''
View GPU utilization, both for the total activity percent and individual