timbertson / opam2nix

Generate nix expressions from opam packages
MIT License
93 stars 28 forks source link

Nixos fixes #2

Closed symphorien closed 6 years ago

symphorien commented 6 years ago

Various fixes to have gup work on this repo on nixos. this partially addresses https://github.com/timbertson/opam2nix-packages/issues/8

timbertson commented 6 years ago

Thanks, I don't have a proper nixos box handy to test this repo out on so I appreciate the contributions :)

symphorien commented 6 years ago

@timbertson you can enable sandboxing on nix even on an other distro to approximate the behavior of nixos. This way when there is a /bin/bash left, builds will fail. https://nixos.wiki/wiki/Nix#Sandboxing