Skip to content

Commit

Permalink
immudb: 1.9DOM.2 -> 1.9.4
Browse files Browse the repository at this point in the history
add mechanism to detect webconsole mismatch

(vendor hash did indeed not change)

codenotary/immudb@v1.9DOM.2...v1.9.5
  • Loading branch information
risicle committed Nov 3, 2024
1 parent d25ccf9 commit e091ad9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/servers/nosql/immudb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,24 @@ let
in
buildGoModule rec {
pname = "immudb";
version = "1.9DOM.2";
version = "1.9.5";

src = fetchFromGitHub {
owner = "codenotary";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bNMJZWXelHQatW9rhqf3eYs61nJJEBwMXZhUZWQv6S0=";
sha256 = "sha256-XKioPk0Rv+I916OLInJEtOaDV9KcBMWSHmPOq2k3LTQ=";
};

postPatch = ''
EXPECTED_WEBCONSOLE_STRING='DEFAULT_WEBCONSOLE_VERSION=${webconsoleVersion}'
if ! grep -F "$EXPECTED_WEBCONSOLE_STRING" Makefile ; then
echo "Did not find $EXPECTED_WEBCONSOLE_STRING in Makefile. " \
"Our webconsole version may need bumping (or the Makefile may have changed)"
exit 3
fi
'';

preBuild = ''
mkdir -p webconsole/dist
cp -r ${webconsoleDist}/* ./webconsole/dist
Expand Down

0 comments on commit e091ad9

Please sign in to comment.