##// END OF EJS Templates
nix: update default.nix to be consistent with ordering with vcsserver.
marcink -
r1773:9d9d9a7e default
parent child
Show More
@@ -174,32 +174,33 let
174 '';
174 '';
175
175
176 postInstall = ''
176 postInstall = ''
177 echo "Writing meta information for rccontrol to nix-support/rccontrol"
178 mkdir -p $out/nix-support/rccontrol
179 cp -v rhodecode/VERSION $out/nix-support/rccontrol/version
180 echo "DONE: Meta information for rccontrol written"
181
177 # python based programs need to be wrapped
182 # python based programs need to be wrapped
183 ln -s ${self.pyramid}/bin/* $out/bin/
184 ln -s ${self.gunicorn}/bin/gunicorn $out/bin/
178 ln -s ${self.supervisor}/bin/supervisor* $out/bin/
185 ln -s ${self.supervisor}/bin/supervisor* $out/bin/
179 ln -s ${self.gunicorn}/bin/gunicorn $out/bin/
180 ln -s ${self.PasteScript}/bin/paster $out/bin/
186 ln -s ${self.PasteScript}/bin/paster $out/bin/
181 ln -s ${self.channelstream}/bin/channelstream $out/bin/
187 ln -s ${self.channelstream}/bin/channelstream $out/bin/
182 ln -s ${self.pyramid}/bin/* $out/bin/ #*/
183
188
184 # rhodecode-tools
189 # rhodecode-tools
185 # TODO: johbo: re-think this. Do the tools import anything from enterprise?
186 ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/
190 ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/
187
191
188 # note that condition should be restricted when adding further tools
192 # note that condition should be restricted when adding further tools
189 for file in $out/bin/*; do #*/
193 for file in $out/bin/*;
194 do
190 wrapProgram $file \
195 wrapProgram $file \
196 --prefix PATH : $PATH \
191 --prefix PYTHONPATH : $PYTHONPATH \
197 --prefix PYTHONPATH : $PYTHONPATH \
192 --prefix PATH : $PATH \
193 --set PYTHONHASHSEED random
198 --set PYTHONHASHSEED random
194 done
199 done
195
200
196 mkdir $out/etc
201 mkdir $out/etc
197 cp configs/production.ini $out/etc
202 cp configs/production.ini $out/etc
198
203
199 echo "Writing meta information for rccontrol to nix-support/rccontrol"
200 mkdir -p $out/nix-support/rccontrol
201 cp -v rhodecode/VERSION $out/nix-support/rccontrol/version
202 echo "DONE: Meta information for rccontrol written"
203
204
204 # TODO: johbo: Make part of ac-tests
205 # TODO: johbo: Make part of ac-tests
205 if [ ! -f rhodecode/public/js/scripts.js ]; then
206 if [ ! -f rhodecode/public/js/scripts.js ]; then
General Comments 0
You need to be logged in to leave comments. Login now