Hacker News new | past | comments | ask | show | jobs | submit login

It's kind of a pain, but you can use buildFHSUserEnv [0] to run a custom binary. If memory serves, this also works by writing the config for buildFHSUserEnv in a .nix file, running it with nix-shell, and then running the desired binary "the old-fashioned way."

[0]: https://nixos.org/nixpkgs/manual/#sec-fhs-environments




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: