Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: upgrade Nix from 2.3.12 to 2.6.1 #12980

Merged
merged 2 commits into from
Apr 11, 2022
Merged

ci: upgrade Nix from 2.3.12 to 2.6.1 #12980

merged 2 commits into from
Apr 11, 2022

Commits on Apr 11, 2022

  1. nix: fix setup.sh script when running on MacOS

    Signed-off-by: Jakub Sokołowski <[email protected]>
    jakubgs committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    da76200 View commit details
    Browse the repository at this point in the history
  2. ci: upgrade Nix from 2.3.12 to 2.6.1

    Due to changes in how Nix handles Git refs we need to specify
    `refs/tags/` prefix in `package.json` to avoid the following error:
    ```
    fatal: couldn't find remote ref refs/heads/v2.0.3-status-v6
    error: program 'git' failed with exit code 128
    ```
    
    I also had to rewrite some logic in `nix/scripts/source.sh` in order to
    take account of single-user and multi-user installations.
    We default to multi-user for Darwin, but not for any other OS due to
    discovered issues with `nix-daemon` socket on Arch and open file limits.
    
    I also rewrote `nix/scripts/setup.sh` and `/nix/scripts/purge.sh` to support
    different types of installations. Both single-user and multi-user, as some
    operating systems have issues with multi-user installations.
    
    Resolves: #12832
    Depends on: status-im/status-jenkins-lib#37
    
    Related changes:
    * status-im/infra-ci@84947b9f
    * status-im/infra-ci@bb98f5f3
    * status-im/infra-ci@f75d524d
    * status-im/infra-ci@d1fc92cd
    * status-im/infra-ci@87c4091e
    * status-im/infra-ci@8d6b6b3f
    * status-im/infra-ci@c4f13285
    * status-im/infra-ci@38ac698d
    
    Signed-off-by: Jakub Sokołowski <[email protected]>
    jakubgs committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    0311983 View commit details
    Browse the repository at this point in the history