-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slim/genclass #39
Slim/genclass #39
Conversation
@jlesquembre this isn't ready to merge yet but I was just looking at how we might verify that the main-ns has a I'm also seeing that one of the integration tests is hanging for me but I wouldn't have thought it was related to my change. So far, I'm only warning about missing :gen-class for deps.edn projects but I'm not actually failing the build yet. I still need to figure out whether I can run the same check for both deps.edn and leiningen projects. |
thanks for working on it!
|
Okay, now that I know that aarch64-darwin might be the issue, I'll look into it more deeply. I think you're probably right about that too. I've been seeing some odd things with inconsistent nar hashing so I'll drill into a little bit more deeply and let you know what I find. |
@jlesquembre it turned out that the unit tests were probably failing on darwin because of the I've made the |
@slimslenderslacks Thanks, and sorry for the late reply. One question I have is why you added Before merging it, could you take a look to my comments? The only thing I'd like to change before merging are the formatting changes. BTW, do you use a clojure formatter? I'm thinking about adding one to the project, but I'm not sure about it. And is fine if you are not interested on doing those changes, I can do that on top of your PR. |
deps.edn
Outdated
@@ -6,7 +6,8 @@ | |||
version-clj/version-clj {:mvn/version "2.0.2"} | |||
borkdude/rewrite-edn {:mvn/version "0.2.0"} | |||
io.github.clojure/tools.build {:git/tag "v0.8.2" | |||
:git/sha "ba1a2bf421838802e7bdefc541b41f57582e53b6"}} | |||
:git/sha "ba1a2bf421838802e7bdefc541b41f57582e53b6"} | |||
rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to update borkdude/rewrite-edn
to its latest version, and use the rewrite-clj
provided by rewrite-edn
. But I can do that after merging this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ya! Good idea. I'll change that now.
pkgs/mkCljBin.nix
Outdated
@@ -106,7 +106,7 @@ stdenv.mkDerivation ({ | |||
buildPhase = | |||
'' | |||
runHook preBuild | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you undo the format changes? There are also some in the clojure files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I've undone all of the formatting changes.
@jlesquembre I added pkgs.diffutils to the devshell because there was a |
Good catch, I missed it, thanks :) It looks good, I have some time planned to work on clj-nix this weekend, and merge this PR. |
@slimslenderslacks Thanks again, merged :) |
No description provided.