Skip to content

Commit 6e83351

Browse files
emarynJohnRTitor
authored andcommitted
jetbrains-toolbox: fix update script
1 parent d5a0735 commit 6e83351

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/by-name/je/jetbrains-toolbox/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
icu,
1010
genericUpdater,
1111
writeShellScript,
12+
jq,
1213
}:
1314
let
1415
pname = "jetbrains-toolbox";
@@ -73,7 +74,7 @@ stdenv.mkDerivation {
7374
passthru.updateScript = genericUpdater {
7475
versionLister = writeShellScript "jetbrains-toolbox-versionLister" ''
7576
curl -Ls 'https://data.services.jetbrains.com/products?code=TBA&release.type=release' \
76-
| jq -r '.[] | .releases | flatten[] | .build'
77+
| ${lib.getExe jq} -r '.[] | .releases | flatten[] | .build'
7778
'';
7879
};
7980

0 commit comments

Comments
 (0)