···17 substituteInPlace freefall.c --replace "alarm(2)" "alarm(7)"
18 '';
1920- makeFlags = "PREFIX=$(out)";
2122 meta = with stdenv.lib; {
23 description = "Free-fall protection for spinning HP/Dell laptop hard drives";
···17 substituteInPlace freefall.c --replace "alarm(2)" "alarm(7)"
18 '';
1920+ makeFlags = [ "PREFIX=$(out)" ];
2122 meta = with stdenv.lib; {
23 description = "Free-fall protection for spinning HP/Dell laptop hard drives";
+5-3
pkgs/os-specific/linux/ftop/default.nix
···1{ stdenv, fetchurl, ncurses }:
203stdenv.mkDerivation rec {
4- name = "ftop-1.0";
56 src = fetchurl {
7 url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
···14 ./ftop-fix_buffer_overflow.patch
15 ./ftop-fix_printf_format.patch
16 ];
17- patchFlags = "-p0";
1819 postPatch = ''
20 substituteInPlace configure --replace "curses" "ncurses"
21 '';
2223 meta = with stdenv.lib; {
024 description = "Show progress of open files and file systems";
25 homepage = https://code.google.com/p/ftop/;
26 license = licenses.gpl3Plus;
27 longDescription = ''
28- Ftop is to files what top is to processes. The progress of all open files
29 and file systems can be monitored. If run as a regular user, the set of
30 open files will be limited to those in that user's processes (which is
31 generally all that is of interest to the user).
···1{ stdenv, fetchurl, ncurses }:
23+let version = "1.0"; in
4stdenv.mkDerivation rec {
5+ name = "ftop-${version}";
67 src = fetchurl {
8 url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
···15 ./ftop-fix_buffer_overflow.patch
16 ./ftop-fix_printf_format.patch
17 ];
18+ patchFlags = [ "-p0" ];
1920 postPatch = ''
21 substituteInPlace configure --replace "curses" "ncurses"
22 '';
2324 meta = with stdenv.lib; {
25+ inherit version;
26 description = "Show progress of open files and file systems";
27 homepage = https://code.google.com/p/ftop/;
28 license = licenses.gpl3Plus;
29 longDescription = ''
30+ ftop is to files what top is to processes. The progress of all open files
31 and file systems can be monitored. If run as a regular user, the set of
32 open files will be limited to those in that user's processes (which is
33 generally all that is of interest to the user).
+1-1
pkgs/os-specific/linux/mcelog/default.nix
···2223 enableParallelBuilding = true;
2425- installFlags = "DESTDIR=$(out) prefix= DOCDIR=/share/doc";
2627 meta = with stdenv.lib; {
28 inherit version;
···20 substituteInPlace getver.sh --replace ver=unknown ver=${version}
21 '';
2223- makeFlags = "PREFIX=$(out)";
2425 meta = with stdenv.lib; {
026 description = "Top-like tool for viewing AMD Radeon GPU utilization";
27 longDescription = ''
28 View GPU utilization, both for the total activity percent and individual
···20 substituteInPlace getver.sh --replace ver=unknown ver=${version}
21 '';
2223+ makeFlags = [ "PREFIX=$(out)" ];
2425 meta = with stdenv.lib; {
26+ inherit version;
27 description = "Top-like tool for viewing AMD Radeon GPU utilization";
28 longDescription = ''
29 View GPU utilization, both for the total activity percent and individual
+1-1
pkgs/servers/p910nd/default.nix
···15 sed -e "s|/usr||g" -i Makefile
16 '';
1718- makeFlags = "DESTDIR=$(out) BINDIR=/bin";
1920 postInstall = ''
21 # Match the man page:
···15 sed -e "s|/usr||g" -i Makefile
16 '';
1718+ makeFlags = [ "DESTDIR=$(out)" "BINDIR=/bin" ];
1920 postInstall = ''
21 # Match the man page:
+2-1
pkgs/tools/compression/lz4/default.nix
···1516 enableParallelBuilding = true;
1718- makeFlags = "PREFIX=$(out)";
1920 doCheck = false; # tests take a very long time
21 checkTarget = "test";
2223 meta = with stdenv.lib; {
024 description = "Extremely fast compression algorithm";
25 longDescription = ''
26 Very fast lossless compression algorithm, providing compression speed
···1516 enableParallelBuilding = true;
1718+ makeFlags = [ "PREFIX=$(out)" ];
1920 doCheck = false; # tests take a very long time
21 checkTarget = "test";
2223 meta = with stdenv.lib; {
24+ inherit version;
25 description = "Extremely fast compression algorithm";
26 longDescription = ''
27 Very fast lossless compression algorithm, providing compression speed
+3-2
pkgs/tools/filesystems/boxfs/default.nix
···26 name = "boxfs-${version}";
2728 src = srcs.boxfs2;
029 prePatch = with srcs; ''
30 substituteInPlace Makefile --replace "git pull" "true"
31 cp -a --no-preserve=mode ${libapp} libapp
32 cp -a --no-preserve=mode ${libjson} libjson
33 '';
34-35 patches = [ ./work-around-API-borkage.patch ];
3637 buildInputs = [ curl fuse libxml2 ];
38 nativeBuildInputs = [ pkgconfig ];
3940- buildFlags = "static";
4142 installPhase = ''
43 mkdir -p $out/bin
···45 '';
4647 meta = with stdenv.lib; {
048 description = "FUSE file system for box.com accounts";
49 longDescription = ''
50 Store files on box.com (an account is required). The first time you run
···26 name = "boxfs-${version}";
2728 src = srcs.boxfs2;
29+30 prePatch = with srcs; ''
31 substituteInPlace Makefile --replace "git pull" "true"
32 cp -a --no-preserve=mode ${libapp} libapp
33 cp -a --no-preserve=mode ${libjson} libjson
34 '';
035 patches = [ ./work-around-API-borkage.patch ];
3637 buildInputs = [ curl fuse libxml2 ];
38 nativeBuildInputs = [ pkgconfig ];
3940+ buildFlags = [ "static" ];
4142 installPhase = ''
43 mkdir -p $out/bin
···45 '';
4647 meta = with stdenv.lib; {
48+ inherit version;
49 description = "FUSE file system for box.com accounts";
50 longDescription = ''
51 Store files on box.com (an account is required). The first time you run
···28 enableParallelBuilding = true;
2930 # All files installed to /etc are just static data that can go in the store
31- makeFlags = "PREFIX=$(out) ETCDIR=$(out)/etc";
3233 postInstall = ''
34 ln -sv ${geolite-legacy}/share/GeoIP/GeoIP.dat $out/etc/netsniff-ng/country4.dat
···28 enableParallelBuilding = true;
2930 # All files installed to /etc are just static data that can go in the store
31+ makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
3233 postInstall = ''
34 ln -sv ${geolite-legacy}/share/GeoIP/GeoIP.dat $out/etc/netsniff-ng/country4.dat
+5-1
pkgs/tools/package-management/dpkg/default.nix
···17 --replace "stackprotectorstrong => 1" "stackprotectorstrong => 0"
18 '';
1920- configureFlags = "--disable-dselect --with-admindir=/var/lib/dpkg PERL_LIBDIR=$(out)/${perl.libPrefix}";
00002122 preConfigure = ''
23 # Nice: dpkg has a circular dependency on itself. Its configure
···17 --replace "stackprotectorstrong => 1" "stackprotectorstrong => 0"
18 '';
1920+ configureFlags = [
21+ "--disable-dselect"
22+ "--with-admindir=/var/lib/dpkg"
23+ "PERL_LIBDIR=$(out)/${perl.libPrefix}"
24+ ];
2526 preConfigure = ''
27 # Nice: dpkg has a circular dependency on itself. Its configure