srid / nixci

Define and build CI for Nix projects anywhere; superceded by Omnix https://omnix.page/om/ci.html
GNU Affero General Public License v3.0
108 stars 5 forks source link

feat: Accept global options to pass to Nix #66

Closed srid closed 2 months ago

srid commented 2 months ago

In particular, the following global Nix options can now be passed to nixci:

      --extra-experimental-features <EXTRA_EXPERIMENTAL_FEATURES>
          Append to the experimental-features setting of Nix

      --extra-access-tokens <EXTRA_ACCESS_TOKENS>
          Append to the access-tokens setting of Nix

      --refresh
          Consider all previously downloaded files out-of-date

This is made possible by the following two PRs to nix-rs:

rsrohitsingh682 commented 2 months ago

@srid I tested this in our internal project and it works. After this PR gets merged, will install this in docker image.