0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Ship from sed and jq to applying patches

Change-Id: I4739feb75997d1b6f76af4deccb6f8a38e2d1e39
This commit is contained in:
Yury Shvedov
2024-02-09 17:25:54 +03:00
parent 1f0975300f
commit b751cba90b
7 changed files with 100 additions and 25 deletions

View File

@@ -29,6 +29,8 @@ stdenvNoCC.mkDerivation
];
repack = ./../repack.sh;
patches = ./../patches;
utility = ./../utility;
desktopItem = ../templates/desktop;
src =
if ymExe != null
@@ -40,8 +42,12 @@ stdenvNoCC.mkDerivation
};
unpackPhase = ''
bash "$repack" ${if !fixQuit then "-q" else ""} -o "./app" "$src"
cp -r $repack ./repack.sh
cp -r $patches ./patches
cp -r $utility ./utility
bash "./repack.sh" ${if !fixQuit then "-q" else ""} -o "./app" "$src"
'';
dontPatch = true;
installPhase = ''
mkdir -p "$out/share/nodejs"