Show More
@@ -132,11 +132,19 b' let' | |||||
132 | cp configs/production.ini $out/etc |
|
132 | cp configs/production.ini $out/etc | |
133 | echo "DONE: saved vcsserver production.ini into $out/etc" |
|
133 | echo "DONE: saved vcsserver production.ini into $out/etc" | |
134 |
|
134 | |||
|
135 | echo "saving env in $out/etc/env_vars.txt" | |||
|
136 | touch $out/etc/env_vars.txt | |||
|
137 | echo "# RhodeCode build env vars" >> $out/etc/env_vars.txt | |||
|
138 | echo "LOCALE_ARCHIVE=\"${pkgs.glibcLocales}/lib/locale/locale-archive\"" >> $out/etc/env_vars.txt | |||
|
139 | echo "LC_ALL=\"en_US.UTF-8\"" >> $out/etc/env_vars.txt | |||
|
140 | ||||
135 | # python based programs need to be wrapped |
|
141 | # python based programs need to be wrapped | |
136 | mkdir -p $out/bin |
|
142 | mkdir -p $out/bin | |
137 |
|
143 | |||
|
144 | # expose python | |||
|
145 | ln -s ${self.python}/bin/python $out/bin/ | |||
|
146 | ||||
138 | # required binaries from dependencies |
|
147 | # required binaries from dependencies | |
139 | ln -s ${self.python}/bin/python $out/bin/ |
|
|||
140 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ |
|
148 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ | |
141 | ln -s ${self.pyramid}/bin/prequest $out/bin/ |
|
149 | ln -s ${self.pyramid}/bin/prequest $out/bin/ | |
142 | ln -s ${self.pyramid}/bin/pserve $out/bin/ |
|
150 | ln -s ${self.pyramid}/bin/pserve $out/bin/ |
General Comments 0
You need to be logged in to leave comments.
Login now