hubstaff: don't include updateScript in derivation

`updateScript` shouldn't be included in the derivation because it
isn't needed as part of the build process.
This commit is contained in:
Kira Bruneau 2022-04-23 16:14:14 -04:00
parent 40696c3e6f
commit 2347b14150

View File

@ -55,7 +55,7 @@ stdenv.mkDerivation {
ln -s $opt/data/resources $opt/x86_64/resources
'';
updateScript = writeShellScript "hubstaff-updater" ''
passthru.updateScript = writeShellScript "hubstaff-updater" ''
set -eu -o pipefail
installation_script_url=$(curl --fail --head --location --silent --output /dev/null --write-out %{url_effective} https://app.hubstaff.com/download/linux)