##// END OF EJS Templates
nix: save env vars
marcink -
r974:2e2bba56 python3
parent child Browse files
Show More
@@ -132,11 +132,19 b' let'
132 132 cp configs/production.ini $out/etc
133 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 141 # python based programs need to be wrapped
136 142 mkdir -p $out/bin
137 143
144 # expose python
145 ln -s ${self.python}/bin/python $out/bin/
146
138 147 # required binaries from dependencies
139 ln -s ${self.python}/bin/python $out/bin/
140 148 ln -s ${self.gunicorn}/bin/gunicorn $out/bin/
141 149 ln -s ${self.pyramid}/bin/prequest $out/bin/
142 150 ln -s ${self.pyramid}/bin/pserve $out/bin/
General Comments 0
You need to be logged in to leave comments. Login now