overlay: remove nixos-option from overrides #98

Merged
raito merged 1 commit from dawnofmidnight/nixos-module:overlay-remove-nixos-option into main 2026-05-25 17:30:15 +00:00
Contributor

nixos-option was originally added as an exception because it linked to CppNix internals, but this is no longer true as of 25.05 (see https://github.com/NixOS/nixpkgs/pull/369151). It now appears to work with Lix, so the override can be removed.

Our testing of this leaves much to be desired since we don't use nixos-option regularly, but basic usage seems to work (on a nixos-unstable system with Lix version 2.94.0pre-243836ed / still works with 2.96.0-dev7831c98a4db5):

~> nixos-option i18n.defaultLocale -I "nixos-config=/etc/nixos/configuration.nix"
fetching path input 'path:/nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source'
Value:
  "en_US.UTF-8"

Default:
  "en_US.UTF-8"

Type:
  string

Description:
  The default locale. It determines the language for program messages,
  the format for dates and times, sort order, and so on. Setting the
  default character set is done via {option}`i18n.defaultCharset`.

Example:
  "nl_NL.UTF-8"

Declared by:
  /nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source/nixos/modules/config/i18n.nix

Defined by:
  /nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source/nixos/modules/config/i18n.nix
nixos-option was originally added as an exception because it linked to CppNix internals, but this is no longer true as of 25.05 (see https://github.com/NixOS/nixpkgs/pull/369151). It now appears to work with Lix, so the override can be removed. Our testing of this leaves much to be desired since we don't use nixos-option regularly, but basic usage seems to work (on a nixos-unstable system with Lix version 2.94.0pre-243836ed / still works with 2.96.0-dev7831c98a4db5): ``` ~> nixos-option i18n.defaultLocale -I "nixos-config=/etc/nixos/configuration.nix" fetching path input 'path:/nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source' Value: "en_US.UTF-8" Default: "en_US.UTF-8" Type: string Description: The default locale. It determines the language for program messages, the format for dates and times, sort order, and so on. Setting the default character set is done via {option}`i18n.defaultCharset`. Example: "nl_NL.UTF-8" Declared by: /nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source/nixos/modules/config/i18n.nix Defined by: /nix/store/c9asdiqw1rf5qwdjz26f57hp68ppb8fc-source/nixos/modules/config/i18n.nix ```
overlay: remove nixos-option from overrides
Some checks failed
/ build (aarch64-linux) (pull_request) Has been cancelled
/ build (x86_64-linux) (pull_request) Has been cancelled
3a34448994
nixos-option was originally added as an exception because it linked to
CppNix internals, but this is no longer true as of 25.05
(see https://github.com/NixOS/nixpkgs/pull/369151). It now appears to
work with Lix, so the override can be removed.
dawnofmidnight force-pushed overlay-remove-nixos-option from 3a34448994
Some checks failed
/ build (aarch64-linux) (pull_request) Has been cancelled
/ build (x86_64-linux) (pull_request) Has been cancelled
to 8266c84f63
All checks were successful
/ build (aarch64-linux) (pull_request) Successful in 24s
/ build (x86_64-linux) (pull_request) Successful in 9m47s
2026-05-11 02:09:47 +00:00
Compare
raito approved these changes 2026-05-25 17:30:09 +00:00
raito merged commit 727d859b6f into main 2026-05-25 17:30:15 +00:00
dawnofmidnight deleted branch overlay-remove-nixos-option 2026-05-25 17:36:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/nixos-module!98
No description provided.