mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-24 17:20:17 -06:00
fix conflict
This commit is contained in:
parent
e34e0cdd74
commit
1bda9194d8
24
mkTarball.sh
24
mkTarball.sh
@ -3,8 +3,6 @@
|
||||
storePaths=($(nix-store -qR $(nix-build release.nix)))
|
||||
cp -n result/bin/{.tuxclockerd-wrapped,.tuxclocker-qt-wrapped} .
|
||||
libPaths=( "${storePaths[@]/%/\/lib\/}" )
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
libPaths=( "${libPaths[@]/#/.}" )
|
||||
libPathsColonSep=$(echo ${libPaths[@]} | sed 's/ /:/g')
|
||||
glibPath=$(nix-build '<nixpkgs>' -A glibc --no-out-link)
|
||||
@ -28,26 +26,4 @@ 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
|
||||
=======
|
||||
#libPaths=( "${libPaths[@]/" "/\:}" )
|
||||
=======
|
||||
>>>>>>> 641bf86 (squash: working ld paths)
|
||||
libPaths=( "${libPaths[@]/#/.}" )
|
||||
libPathsColonSep=$(echo ${libPaths[@]} | sed 's/ /:/g')
|
||||
glibPath=$(nix-build '<nixpkgs>' -A glibc --no-out-link)
|
||||
chmod 777 ./.tuxclockerd-wrapped ./.tuxclocker-qt-wrapped
|
||||
patchelf --set-rpath \.$glibPath/lib ./.tuxclockerd-wrapped ./.tuxclocker-qt-wrapped
|
||||
patchelf --set-interpreter \.$glibPath/lib/ld-linux-x86-64.so.2 ./.tuxclockerd-wrapped ./.tuxclocker-qt-wrapped
|
||||
|
||||
echo "
|
||||
export DBUS_SYSTEM_BUS_ADDRESS='unix:path=/tmp/tuxclocker-dbus-socket'
|
||||
export LD_LIBRARY_PATH=\"${libPathsColonSep[@]}\"
|
||||
sudo -E LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH\" dbus-run-session --config-file=dev/dbusconf.conf ./.tuxclockerd-wrapped & ./.tuxclocker-qt-wrapped
|
||||
" > run.sh
|
||||
chmod +x run.sh
|
||||
<<<<<<< HEAD
|
||||
#tar cavf foo.tar ${storePaths[@]} ./.tuxclocker-qt-wrapped ./.tuxclockerd-wrapped ./run.sh ./dev/dbusconf.conf
|
||||
>>>>>>> 397cfb9 (squash: non-nix-bundle)
|
||||
=======
|
||||
tar cavf foo.tar ${storePaths[@]} ./.tuxclocker-qt-wrapped ./.tuxclockerd-wrapped ./run.sh ./dev/dbusconf.conf
|
||||
>>>>>>> 641bf86 (squash: working ld paths)
|
||||
|
Loading…
Reference in New Issue
Block a user