mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-17 08:21:44 +03:00
use correct maintainer
This commit is contained in:
parent
568cd76ffd
commit
8dfdcaaf38
4
up.sh
4
up.sh
@ -66,9 +66,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
CHECK_RESULT=$($SCRIPT_DIR/check-result.sh $RESULT $NEW_VERSION)
|
||||
|
||||
MAINTAINERS=
|
||||
if nix eval "(let pkgs = import ./. {}; in pkgs.haproxy.meta.maintainers)" > /dev/null 2>&1
|
||||
if nix eval "(let pkgs = import ./. {}; in pkgs.$PACKAGE_NAME.meta.maintainers)" > /dev/null 2>&1
|
||||
then
|
||||
maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.haproxy.meta.maintainers))))')
|
||||
maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.$PACKAGE_NAME.meta.maintainers))))')
|
||||
if [ -n "$maintainers" ]
|
||||
then
|
||||
MAINTAINERS="
|
||||
|
Loading…
Reference in New Issue
Block a user