1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

libstore: Add apple-virt to system features when available

I'm sure that we'll adjust the implementation over time, but this
at least discerns between an apple silicon bare metal machine and
a tart VM.
This commit is contained in:
Robert Hensing 2023-10-19 16:59:35 +02:00
parent 9bc7b4f463
commit 9277eb276b
3 changed files with 37 additions and 0 deletions

View file

@ -8,6 +8,8 @@
- Introduce new flake installable syntax `flakeref#.attrPath` where the "." prefix denotes no searching of default attribute prefixes like `packages.<SYSTEM>` or `legacyPackages.<SYSTEM>`.
- Nix adds `apple-virt` to the default system features on macOS systems that support virtualization. This is similar to what's done for the `kvm` system feature on Linux hosts.
- Introduce a new built-in function [`builtins.convertHash`](@docroot@/language/builtins.md#builtins-convertHash).
- `builtins.fetchTree` is now marked as stable.