different fix for zig caching issue

This commit is contained in:
Anton-4 2022-06-01 11:29:50 +02:00 committed by Brian Carroll
parent 86d14b9391
commit 9ffad6d18b
No known key found for this signature in database
GPG Key ID: 5C7B2EC4101703C0

View File

@ -109,7 +109,6 @@
lib.makeLibraryPath
([ pkg-config stdenv.cc.cc.lib libffi ncurses zlib ] ++ linuxInputs);
NIXPKGS_ALLOW_UNFREE = 1; # to run the editor with NVIDIA's closed source drivers
ZIG_GLOBAL_CACHE_DIR = if pkgs.stdenv.isDarwin then "${builtins.getEnv "TMPDIR"}" else ""; # workaround for github.com/ziglang/zig/issues/9711
};
}