We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8717c commit 625c120Copy full SHA for 625c120
build-src/src/main/kotlin/moulconfig.fabric.gradle.kts
@@ -36,7 +36,9 @@ the<UniminedExtension>().minecraft {
36
config("client") {
37
jvmArgs("-Dmoulconfig.testmod=true")
38
jvmArgs("-Dmoulconfig.warn.crash=false")
39
-// env.putAll(parseEnvFile(file(".env")))
+ parseEnvFile(file(".env")).forEach { (name, value) ->
40
+ environment(name, value)
41
+ }
42
}
43
config("server") {
44
enabled = false
shell.nix
@@ -0,0 +1,9 @@
1
+{ pkgs ? import <nixpkgs> {} }:
2
+pkgs.mkShell {
3
+ LD_LIBRARY_PATH=pkgs.lib.strings.makeLibraryPath [pkgs.libglvnd pkgs.zlib];
4
+ shellHook = ''
5
+ apply() {
6
+ echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" > .env
7
8
+ '';
9
+}
0 commit comments