Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6860c96

Browse files
committed
fix: restore revision support for orioledb builds (introduced it#1880)
Keep revision support that was accidentally simplified during nixpkgs update.Restores conditional logic to support building orioledb from specific gitrevision hashes instead of only tags.
1 parentf55b3f1 commit6860c96

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

‎nix/postgresql/generic.nix‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,17 @@ let
8989
pname=pname+lib.optionalStringjitSupport"-jit";
9090

9191
src=
92-
if(isOrioleDB)then
93-
fetchurl{
94-
url="https://github.com/orioledb/postgres/archive/refs/tags/patches${version}.tar.gz";
95-
inherithash;
96-
}
92+
ifisOrioleDBthen
93+
ifrevision!=nullthen
94+
fetchurl{
95+
url="https://github.com/orioledb/postgres/archive/${revision}.tar.gz";
96+
inherithash;
97+
}
98+
else
99+
fetchurl{
100+
url="https://github.com/orioledb/postgres/archive/refs/tags/patches${version}.tar.gz";
101+
inherithash;
102+
}
97103
else
98104
fetchurl{
99105
url="mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp