Fork me on GitHub
#boot
<
2016-07-09
>
nha16:07:24

@timothypratley: In the end I use something like you do to write in a different target directory. So, thanks !

cal16:07:46

I need some help understanding pods. I would have expected the following to return the modified pod environment, but I just get nil. Any help would be appreciated.

(set-env!
 :dependencies '[[org.clojure/clojure "1.8.0"]])

(defn get-pod-env []
  (let [env (update-in (get-env) [:dependencies] conj '[boot/core "2.6.0"])
        pod (boot.pod/make-pod env)]
    (boot.pod/with-eval-in pod
      (require '[boot.core :as boot])
      (boot/get-env))))

(println (get-pod-env))

richiardiandrea17:07:39

@cal I would try to use pod/env

cal17:07:44

@richiardiandrea: Thanks. That seems to work.

anthony20:07:29

I've gotten an error when running 'boot -u'

anthony20:07:04

Seems to have disable my entire boot install and I can't seem to re-install. Anybody else seen this?

micha20:07:38

@anthony: looks like boot version is set to -vv somehow

micha20:07:45

it's trying to find that version

micha20:07:16

the boot version is set either via ~/.boot/boot.properties file, ./boot.properties, or the BOOT_VERSION environment variable

anthony20:07:30

Thanks Micha!

micha20:07:39

a quick check you can do is move /.boot directory to like /.boot.bak

micha20:07:47

and see if that solves the problem

micha20:07:13

interesting issue though!

micha20:07:45

@anthony: if you would open a github issue i will implement some kind of sanity check there (if this is indeed the problem you're seeing)

anthony20:07:25

Problem was excessive reliance on the command history! e.g. "boot show -U -vv" thanks for setting me straight.