-
Notifications
You must be signed in to change notification settings - Fork 60
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
Error on nix shell gradle2nix v2 #64
Comments
Interesting, does that happen with |
It does. `nix -L build`
Ah, I should have mentioned. I'm on NixOS (23.11). |
I think I was able to diff --git a/gradle.nix b/gradle.nix
index 749e5fd..71a2849 100644
--- a/gradle.nix
+++ b/gradle.nix
@@ -316,13 +316,13 @@ let
export NIX_OFFLINE_REPO='${offlineRepo}'
+ TMPHOME="$(mktemp -d)"
${optionalString (versionOlder finalAttrs.gradle.version "8.0") ''
# Work around https://github.com/gradle/gradle/issues/1055
- TMPHOME="$(mktemp -d)"
mkdir -p "$TMPHOME/init.d"
- export GRADLE_USER_HOME="$TMPHOME"
cp ${initScript} $TMPHOME/
''}
+ export GRADLE_USER_HOME="$TMPHOME"
gradle --offline --no-daemon --no-build-cache --no-watch-fs \
--info --full-stacktrace --warning-mode=all \ |
Should be fixed in 44f193c; please re-open if not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running into an error when I try
v2
branch ofgradle2nix
in anix shell
. #62Something about
libnative-platform.so
.Log included in collapsed details:
Log output for nix shell -L github:tadfisher/gradle2nix/v2
The text was updated successfully, but these errors were encountered: