[Chore] Use newer nix in all CI steps
Description
Problem: The CI runners are now capable of using a newer nix version by setting the USE_NEWER_NIX env variable. We want to use this new possibility because nix 2.4 seemed to work for us in the past and eventually we expect for the runners to switch to it again.
Solution: Set the env variable and change the nix command in all CI pipeline's steps.
Note: this is a "Draft" because waiting for said new capability.
Related issue(s)
None
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Pinto Pasquale