Merge pull request #170009 from kira-bruneau/hubstaff

hubstaff: don't include updateScript in derivation
This commit is contained in:
Artturi 2022-04-24 03:01:36 +03:00 committed by GitHub
commit 5fa2c38a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)