summary refs log tree commit diff
path: root/pkgs/tools/X11/opentabletdriver/update.sh
diff options
context:
space:
mode:
authorDavid McFarland <corngood@gmail.com>2022-10-16 17:47:23 -0300
committerDavid McFarland <corngood@gmail.com>2023-06-24 19:13:16 -0300
commitee8ba995a746b317d94abcbaeb877f200e1cd37b (patch)
tree482ff75071c310176271c148af57de75057a78ed /pkgs/tools/X11/opentabletdriver/update.sh
parent9c16cea2bbd0b8e172bec49382d1e35861892263 (diff)
downloadnixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.gz
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.bz2
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.lz
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.xz
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.tar.zst
nixpkgs-ee8ba995a746b317d94abcbaeb877f200e1cd37b.zip
buildDotnetModule: make fetch-deps find output path automatically
Diffstat (limited to 'pkgs/tools/X11/opentabletdriver/update.sh')
-rwxr-xr-xpkgs/tools/X11/opentabletdriver/update.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/X11/opentabletdriver/update.sh b/pkgs/tools/X11/opentabletdriver/update.sh
index 322350415e7..665f5ac526a 100755
--- a/pkgs/tools/X11/opentabletdriver/update.sh
+++ b/pkgs/tools/X11/opentabletdriver/update.sh
@@ -3,8 +3,6 @@
 set -eo pipefail
 cd "$(dirname "${BASH_SOURCE[0]}")"
 
-deps_file="$(realpath "./deps.nix")"
-
 new_version="$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s "https://api.github.com/repos/OpenTabletDriver/OpenTabletDriver/releases" | jq -r  'map(select(.prerelease == false)) | .[0].tag_name' | cut -c2-)"
 old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
 
@@ -23,4 +21,4 @@ sed -i ./default.nix -re "s|\"$oldDebSha256\"|\"$newDebSha256\"|"
 
 pushd ../../../..
 update-source-version opentabletdriver "$new_version"
-$(nix-build -A opentabletdriver.fetch-deps --no-out-link) "$deps_file"
+$(nix-build -A opentabletdriver.fetch-deps --no-out-link)