Skip to content

Commit 5edbb5c

Browse files
committed
reorder build, preventing changes to python code from causing a PostgreSQL rebuild
1 parent ea0bb8e commit 5edbb5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

flake.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@
126126
# "# -> Build order", so to speak... structed to build up a PostgreSQL with a compatible Python interpreter that
127127
# is already configured to load the multicorn module.
128128
#
129-
# 1. Multicorn python package first, using the "raw" Python & "raw" PostgreSQL
129+
# 1. PostgreSQL w/ plpython3, using "raw" Python
130+
pythonEnabledPostgres = (makePostgresWithPlPython test_python test_postgresql);
131+
132+
# 2. Multicorn python package first, using the "raw" Python & "raw" PostgreSQL
130133
multicornPython = (makeMulticornPythonPackage test_python test_postgresql);
131134

132-
# 2. Python enhanced w/ the multicorn package
135+
# 3. Python enhanced w/ the multicorn package
133136
enhancedPython = (test_python.withPackages (ps: [multicornPython] ++ (requiredPythonPackages ps) ));
134137

135-
# 3. PostgreSQL w/ plpython3, using "enhanced" Python
136-
pythonEnabledPostgres = (makePostgresWithPlPython enhancedPython test_postgresql);
137-
138138
# 4. Multicorn postgresql extension, using the "enhanced" Python & plpython3 PostgreSQL
139139
multicornPostgresExtension = (makeMulticornPostgresExtension enhancedPython pythonEnabledPostgres);
140140

0 commit comments

Comments
 (0)