Add default omnix package to modules
Add default omnix package to modules
Both omnix and cachix modules now have a package/omnix option that defaults to omnix from gitlab-ci's nixpkgs (nixos-25.05).
This allows the modules to work on older nixpkgs versions (like those used by GHC 8.10) that don't have omnix available.
Changes
- Add
pkgsLocalhelper function to import gitlab-ci's nixpkgs - Add
packageoption to omnix module (defaults topkgsLocal.omnix) - Add
omnixoption to cachix module (defaults topkgsLocal.omnix) - Both modules now accept
systemas an argument to instantiate the correct nixpkgs