mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
tuxguitar: fix start script
This commit is contained in:
parent
eaeca4c794
commit
810fcd88f8
@ -10,6 +10,8 @@
|
||||
fluidsynth,
|
||||
libpulseaudio,
|
||||
lilv,
|
||||
which,
|
||||
wrapGAppsHook,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
@ -22,8 +24,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-FD1+7jV69E9AfTczjD6DOGD+pPlscg4o8A9ADBUM9B4=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
which
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
@ -36,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ln -s $out/share $out/bin/share
|
||||
|
||||
wrapProgram $out/bin/tuxguitar \
|
||||
--set JAVA "${jre}/bin/java" \
|
||||
--set PATH "$PATH:${jre}/bin" \
|
||||
--prefix LD_LIBRARY_PATH : "$out/lib/:${
|
||||
lib.makeLibraryPath [
|
||||
swt
|
||||
|
Loading…
Reference in New Issue
Block a user