Hi,
is it possible to somehow emulate an FHS environment in the builder of a derivation? I’m currently trying to write a derivation for the Julia interpreter/compiler, but it seems to break due to NixOS being non-FHS (the errors seem pretty nightmare-ish, probably nothing that could be easily fixed). Manually building it with buildFHSUserEnv
works fine, but that doesn’t seem to work inside a builder:
julia-build-env-shell-env> *** User chroot 'env' attributes are intended for interactive nix-shell sessions, not for building! ***
Is there any alternative to buildFHSUserEnv
that could be used here?