@@ -37,6 +37,9 @@ let
3737 # in theory newer versions of fdb support newer boost versions, but they
3838 # don't :( maybe one day
3939 , boost ? boost152
40+
41+ # if an release is unofficial/a prerelease, then make sure this is set
42+ , officialRelease ? true
4043 }: stdenv.mkDerivation rec {
4144 name = "foundationdb-${version}";
4245 inherit version;
@@ -109,7 +112,7 @@ let
109112 # Needed environment overrides
110113 ++ [ "KVRELEASE=1"
111114 "NOSTRIP=1"
112− ];
115+ ] ++ lib.optional officialRelease [ "RELEASE=true" ];
113116
114117 # on 6.0 and later, we can specify all this information manually
115118 configurePhase = lib.optionalString (lib.versionAtLeast version "6.0") ''