dbench: fix wrong client.txt location

(the path is hard-coded)
cc @bjornfor

+9 -1
+9 -1
pkgs/development/tools/misc/dbench/default.nix
··· 13 14 preConfigure = '' 15 ./autogen.sh 16 ''; 17 18 postInstall = '' 19 - cp -R loadfiles/ $out/share/ 20 ''; 21 22 meta = with stdenv.lib; {
··· 13 14 preConfigure = '' 15 ./autogen.sh 16 + configureFlagsArray+=("--datadir=$out/share/dbench") 17 ''; 18 19 postInstall = '' 20 + cp -R loadfiles/* $out/share/dbench/doc/dbench/loadfiles 21 + 22 + # dbench looks here for the file 23 + ln -s doc/dbench/loadfiles/client.txt $out/share/dbench/client.txt 24 + 25 + # backwards compatible to older nixpkgs packaging introduced by 26 + # 3f27be8e5d5861cd4b9487d6c5212d88bf24316d 27 + ln -s dbench/doc/dbench/loadfiles $out/share/loadfiles 28 ''; 29 30 meta = with stdenv.lib; {