@@ -14,11 +14,14 @@ NIXPKGS=@nixpkgs@
1414start_deps() {
1515 for i in $deps; do
1616 name=`$i/control name`
17− if ! test -a $RCDIR/$name; then
18− echo "blaat"
17+
18+ if ! test -a "$RCDIR/$name"; then
19+ echo $RCDIR/$name $i
20+ @nix@/bin/nix-env -p $RCDIR/$name -i $i
1921 fi
2022
2123 $i/control start
24+
2225 RETVAL=$?
2326 if test $RETVAL != 0; then
2427 exit $RETVAL
@@ -38,7 +41,6 @@ start_softdeps() {
3841
3942 $i/control start
4043
41− #$i start
4244 RETVAL=$?
4345 if test $RETVAL != 0; then
4446 continue
@@ -54,7 +56,7 @@ start() {
5456 fi
5557 # if not, continue
5658 # launch all hard dependencies
57− #start_deps
59+ start_deps
5860 # launch all preferred dependencies
5961 echo "softdeps" $softdeps
6062 start_softdeps