Sounds like there was an anti-nepotism law passed in 1967 that the Department of Justice has generally thought to bar the practice for presidents up until 2017 when it issued memos saying that it had changed its opinion on it. My guess is that it's never been tested in court.
https://www.politico.com/story/2017/...latives-243395