Convert some *Flags from strings to lists
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
--replace "'which'" "'${which}/bin/which'"
|
||||
'';
|
||||
|
||||
makeFlagsArray = "PREFIX=$(out)";
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user