Fork me on GitHub
#tools-deps
<
2022-03-25
>
jjttjj16:03:05

I remember seeing something about this recently but can't find it now. Is there a way to use clj without an internet connection?

jjttjj16:03:37

that was it, thanks!

dergutemoritz16:03:41

FYI: We're still on it, so watch that place for updates

👍 1
Alex Miller (Clojure team)16:03:34

I was not able to reproduce that case above, so would welcome more info there

dergutemoritz16:03:57

Aye, should arrive any day 🙂 Thanks for your support so far!

Adam Helins16:03:17

@U064X3EF3 Are you on MacOs by any chance? Because it turns out I couldn't reproduce either while my Linux colleagues could, very odd We did some intensive debugging today. I still have a few things to try and I'll report on ask.clojure

Alex Miller (Clojure team)16:03:31

That is where I tested, but not clear to me why it would be different

favila18:03:21

I think this may be a platform difference. The different clojure platform installers scripts put their files in different places, but the nix script doesn’t account for this: https://github.com/NixOS/nixpkgs/blob/nixos-21.11/pkgs/development/interpreters/clojure/default.nix#L19-L48

favila18:03:46

This is an issue I ran into with our own “bin wrapper” tool wrapping clojure for download

favila18:03:36

so on some platforms, the clojure bash script doesn’t find the jar and redownloads it

favila18:03:59

yeah, this is macos:

.
├── BOOTSTRAPPED
├── bin
│   ├── clj
│   └── clojure
├── deps.edn
├── example-deps.edn
├── libexec
│   ├── clojure-tools-1.10.3.1087.jar
│   └── exec.jar
├── share
│   └── man
│       └── man1
│           ├── clj.1
│           └── clojure.1
└── tools.edn

favila18:03:08

this is linux:

favila18:03:09

.
├── bin
│   ├── clj
│   └── clojure
├── BOOTSTRAPPED
├── lib
│   └── clojure
│       ├── deps.edn
│       ├── example-deps.edn
│       ├── libexec
│       │   ├── clojure-tools-1.10.3.1087.jar
│       │   └── exec.jar
│       └── tools.edn
└── share
    └── man
        └── man1
            ├── clj.1
            └── clojure.1