mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
only copy libraries from nix store into the tarball
This commit is contained in:
parent
1bda9194d8
commit
91073352dc
@ -25,5 +25,7 @@ unset LD_LIBRARY_PATH && \
|
||||
sudo kill \$(pidof .tuxclockerd-wrapped)
|
||||
" > run.sh
|
||||
chmod +x run.sh
|
||||
tar cavf tuxclocker.tar ${storePaths[@]} ./.tuxclocker-qt-wrapped ./.tuxclockerd-wrapped ./run.sh ./dev/dbusconf.conf
|
||||
# Only copy libraries from Nix store (.so's)
|
||||
neededLibs=$(find $(nix-store -qR $(nix-build release.nix)) | grep ".*.so")
|
||||
tar cavf tuxclocker.tar ${neededLibs[@]} ./.tuxclocker-qt-wrapped ./.tuxclockerd-wrapped ./run.sh ./dev/dbusconf.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user