fuse: move env vars to env.*

See #217206

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-11-08 00:58:41 +00:00
parent 85f7e662ed
commit 6c359f48f3

View File

@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
# Ensure that FUSE calls the setuid wrapper, not # Ensure that FUSE calls the setuid wrapper, not
# $out/bin/fusermount. It falls back to calling fusermount in # $out/bin/fusermount. It falls back to calling fusermount in
# $PATH, so it should also work on non-NixOS systems. # $PATH, so it should also work on non-NixOS systems.
NIX_CFLAGS_COMPILE = ''-DFUSERMOUNT_DIR="/run/wrappers/bin"''; env.NIX_CFLAGS_COMPILE = ''-DFUSERMOUNT_DIR="/run/wrappers/bin"'';
preConfigure = preConfigure =
'' ''