File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 55 postgresql ,
66 postgresqlTestHook ,
77 buildEnv ,
8+ makeWrapper ,
9+ switch-ext-version ,
810} :
911let
1012 pname = "plpgsql_check" ;
9395buildEnv {
9496 name = pname ;
9597 paths = packages ;
98+ nativeBuildInputs = [ makeWrapper ] ;
9699
97100 pathsToLink = [
98101 "/lib"
@@ -120,10 +123,13 @@ buildEnv {
120123 fi
121124 previous_version=$ver
122125 done
126+
127+ makeWrapper ${ lib . getExe switch-ext-version } $out/bin/switch_plpgsql_check_version \
128+ --prefix EXT_WRAPPER : "$out" --prefix EXT_NAME : "${ pname } "
123129 '' ;
124130
125131 passthru = {
126- inherit versions numberOfVersions ;
132+ inherit versions numberOfVersions switch-ext-version ;
127133 pname = "${ pname } -all" ;
128134 version =
129135 "multi-" + lib . concatStringsSep "-" ( map ( v : lib . replaceStrings [ "." ] [ "-" ] v ) versions ) ;
You can’t perform that action at this time.
0 commit comments