lol

f3: fix linux build

Evils bb9bc68e b7d8c687

+16 -14
+16 -14
pkgs/tools/filesystems/f3/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub 2 - , parted, systemd, argp-standalone 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , parted 5 + , systemd 6 + , argp-standalone 3 7 }: 4 8 5 9 stdenv.mkDerivation rec { ··· 14 18 }; 15 19 16 20 postPatch = '' 17 - sed -i 's/-oroot -groot//' Makefile 21 + sed -i 's/-oroot -groot//' Makefile 18 22 19 - for f in f3write.h2w log-f3wr; do 20 - substituteInPlace $f \ 21 - --replace '$(dirname $0)' $out/bin 22 - done 23 + for f in f3write.h2w log-f3wr; do 24 + substituteInPlace $f \ 25 + --replace '$(dirname $0)' $out/bin 26 + done 23 27 ''; 24 28 25 - buildInputs = lib.optional stdenv.isLinux [ systemd parted ] 26 - ++ lib.optional stdenv.isDarwin [ argp-standalone ]; 29 + buildInputs = lib.optionals stdenv.isLinux [ systemd parted ] 30 + ++ lib.optionals stdenv.isDarwin [ argp-standalone ]; 27 31 28 - enableParallelBuilding = true; 29 - 30 - buildFlags = [ 32 + buildFlags = [ 31 33 "all" # f3read, f3write 32 34 ] 33 35 ++ lib.optional stdenv.isLinux "extra"; # f3brew, f3fix, f3probe ··· 48 50 49 51 meta = with lib; { 50 52 description = "Fight Flash Fraud"; 51 - homepage = "http://oss.digirati.com.br/f3/"; 53 + homepage = "https://fight-flash-fraud.readthedocs.io/en/stable/"; 52 54 license = licenses.gpl3Plus; 53 - maintainers = with maintainers; [ makefu ]; 55 + maintainers = with maintainers; [ makefu evils ]; 54 56 }; 55 57 }