Commit 7b646716 authored by superherointj's avatar superherointj Committed by superherointj
Browse files

etcd_3_5: move to pkgs/by-name

parent 1b73b607
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
    ETCD_SRC_HASH=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $ETCD_SRC_HASH)

    setKV () {
        sed -i "s|$1 = \".*\"|$1 = \"${2:-}\"|" "$ETCD_PATH/default.nix"
        sed -i "s|$1 = \".*\"|$1 = \"${2:-}\"|" "$ETCD_PATH/package.nix"
    }

    setKV version $LATEST_VERSION
@@ -63,7 +63,7 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
    # `git` flag here is to be used by local maintainers to speed up the bump process
    if [ $# -eq 1 ] && [ "$1" = "git" ]; then
        git switch -c "package-$ETCD_PKG_NAME-$LATEST_VERSION"
        git add "$ETCD_PATH"/default.nix
        git add "$ETCD_PATH"/package.nix
        git commit -m "$ETCD_PKG_NAME: $OLD_VERSION -> $LATEST_VERSION

Release: https://github.com/etcd-io/etcd/releases/tag/$LATEST_TAG"
+0 −1
Original line number Diff line number Diff line
@@ -9250,7 +9250,6 @@ with pkgs;
  dodgy = with python3Packages; toPythonApplication dodgy;

  etcd = etcd_3_5;
  etcd_3_5 = callPackage ../servers/etcd/3_5 { };

  prosody = callPackage ../servers/xmpp/prosody {
    withExtraLibs = [ ];