mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
f607f89ab1
Detect Nix by probing for the presence of the `NIX_STORE` environment variable instead of `NIX_PATH`. The latter is only set in a `nix-shell` session but isn't when building a derivation through `nix-build`. In contrast, the `NIX_STORE` environment variable is set in both cases. Signed-off-by: Vincent Haupert <mail@vincent-haupert.de>