summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/rebar3/default.nix
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2022-02-20 22:11:49 -0300
committerJosé Romildo <malaquias@gmail.com>2022-02-21 13:01:49 -0300
commitba59355e8105035382b2f4056a97b1ffcd1bb70a (patch)
treeec5ac6cc16144a581e5913ce032320c2d3d2a4bf /pkgs/development/tools/build-managers/rebar3/default.nix
parent60966b5a6ebfb22b16c1400b28eb0f668a0412d3 (diff)
downloadnixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.gz
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.bz2
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.lz
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.xz
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.tar.zst
nixpkgs-ba59355e8105035382b2f4056a97b1ffcd1bb70a.zip
gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the
'genericUpdater' function.
- Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts.
- Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
Diffstat (limited to 'pkgs/development/tools/build-managers/rebar3/default.nix')
-rw-r--r--pkgs/development/tools/build-managers/rebar3/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/rebar3/default.nix b/pkgs/development/tools/build-managers/rebar3/default.nix
index 37cb4dd8660..3ec37b89fd3 100644
--- a/pkgs/development/tools/build-managers/rebar3/default.nix
+++ b/pkgs/development/tools/build-managers/rebar3/default.nix
@@ -81,7 +81,7 @@ let
           (rebar3WithPlugins { globalPlugins = [rebar3-nix]; })
         ]
       }
-      latest=$(list-git-tags https://github.com/${owner}/${pname}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
+      latest=$(list-git-tags --url=https://github.com/${owner}/${pname}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1)
       if [ "$latest" != "${version}" ]; then
         nixpkgs="$(git rev-parse --show-toplevel)"
         nix_path="$nixpkgs/pkgs/development/tools/build-managers/rebar3"