-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Describe the bug
error: builder for '/nix/store/lkvz4rg9p91r1hl6c5vfhc82wc0572rs-etc-lowerdir.drv' failed with exit code 1;
last 1 log lines:
> cp: cannot stat '/etc/zoneinfo/Utc': No such file or directory
For full logs, run 'nix log /nix/store/lkvz4rg9p91r1hl6c5vfhc82wc0572rs-etc-lowerdir.drv'.
Locale module is the only place in nixpkgs that mentions direct-symlink etc entry type:
nixpkgs/nixos/modules/config/locale.nix
Line 89 in 6e42ddf
| localtime.mode = "direct-symlink"; |
/etc overlay generation code acknowledges the existence only of the symlink type (
nixpkgs/nixos/modules/system/etc/etc.nix
Line 65 in 062ca2a
| etcHardlinks = filter (f: f.mode != "symlink") etc'; |
Steps To Reproduce
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
};
boot.loader.grub.enable = false;
boot.initrd.systemd.enable = true;
system.etc.overlay = {
enable = true;
mutable = true;
};
time.timeZone = "Utc";
}
];
}Expected behavior
The provided system configuration builds.
Notify maintainers
Mentioning @nikstur since they committed the /etc overlay code.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 6.8.7, NixOS, 23.11 (Tapir), 23.11.20240424.dd37924`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.1`
- nixpkgs: `/etc/nix/inputs/nixpkgs`Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS