fix evaluation errors with nix-env