csvquote: fix cross patching

+5 -1
+5 -1
pkgs/by-name/cs/csvquote/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 patsh, 6 }: 7 ··· 25 patsh 26 ]; 27 28 makeFlags = [ 29 "BINDIR=$(out)/bin" 30 ]; ··· 35 36 postInstall = '' 37 substituteAllInPlace $out/bin/csvheader 38 - patsh $out/bin/csvheader -fs ${builtins.storeDir} 39 ''; 40 41 meta = with lib; {
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + coreutils, 6 patsh, 7 }: 8 ··· 26 patsh 27 ]; 28 29 + # needed for cross 30 + buildInputs = [ coreutils ]; 31 + 32 makeFlags = [ 33 "BINDIR=$(out)/bin" 34 ]; ··· 39 40 postInstall = '' 41 substituteAllInPlace $out/bin/csvheader 42 + patsh $out/bin/csvheader -fs ${builtins.storeDir} --path "$HOST_PATH" 43 ''; 44 45 meta = with lib; {