I am working on packaging rmapi in this pull request. My approach was:
- Add all the nix relevant files (
shell.nix) to the rmapi repository (Pull Request)
- Add a derivation to nixpkgs which fetches and uses derivation.nix from the rmapi repository.
My thinking was that by storing
shell.nix in the rmapi repository I can:
- add a github action which automatically updates
- add support for a
nix-shellpowered development environment
My problem right now is that my pull request to nixpkgs does not pass ci checks. I do think this happens because pkgs/applications/office/rmapi/default.nix uses
fetchFromGithub to load the
derivation.nix from the rmapi repository. Which won’t work during ofborg evaluation because of security / sandboxing.
If that’s the case: Is the my chosen approach wrong?