timidity: fix config location

This commit is contained in:
Emily Trau 2022-08-15 21:35:23 +10:00
parent 441dc5d512
commit 214d37395e
2 changed files with 2 additions and 2 deletions

View File

@ -60,6 +60,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
mkdir -p $out/share/timidity/; mkdir -p $out/share/timidity/;
cp ${./timidity.cfg} $out/share/timidity/timidity.cfg cp ${./timidity.cfg} $out/share/timidity/timidity.cfg
substituteAllInPlace $out/share/timidity/timidity.cfg
tar --strip-components=1 -xf $instruments -C $out/share/timidity/ tar --strip-components=1 -xf $instruments -C $out/share/timidity/
''; '';
# This fixup step is unnecessary and fails on Darwin # This fixup step is unnecessary and fails on Darwin

View File

@ -41,8 +41,7 @@
# point to the library directory: # point to the library directory:
# #
dir /run/current-system/sw/share/timidity/instruments dir @out@/share/timidity
dir /run/current-system/sw/share/timidity/patch
############################################################################## ##############################################################################
# This sets up the default patches in the TiMidity support package # This sets up the default patches in the TiMidity support package