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