Page MenuHomePhabricator

[Nix] Add backwards compatible stub for older nix versions
ClosedPublic

Authored by jon on Sep 20 2022, 8:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 1:51 AM
Unknown Object (File)
Sat, Dec 21, 1:51 AM
Unknown Object (File)
Sat, Dec 21, 1:50 AM
Unknown Object (File)
Sat, Dec 21, 1:50 AM
Unknown Object (File)
Nov 10 2024, 1:17 PM
Unknown Object (File)
Oct 28 2024, 7:19 PM
Unknown Object (File)
Oct 28 2024, 4:15 AM
Unknown Object (File)
Oct 26 2024, 2:30 AM
Subscribers

Details

Reviewers
atul
varun
max
abosh
ashoat
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMM087f89aa3ef3: [Nix] Add backwards compatible stub for older nix versions
Summary

Nix 2.7 introduced .default being the default attribute for flake
outputs. For example, rather than having overlay the default
flake output is now overlays.default.

See: https://nixos.org/manual/nix/stable/release-notes/rl-2.7.html

This change is to add a "compatible stub" for the CI machines, which are running
an older version of nix.

Test Plan

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 20 2022, 8:58 AM

Best to leave me off of these reviews... linking this again. If it's easy to review I might hop on it, but that's not a signal to add me to future reviews. The reasons to add me to a review are listed exhaustively in the linked doc

This revision is now accepted and ready to land.Sep 20 2022, 12:10 PM

Best to leave me off of these reviews

not sure why I did, maybe because it was blocking certain gates.