finding hyprland.conf error
This commit is contained in:
@@ -1,71 +1,40 @@
|
|||||||
sudo nixos-rebuild test --flake .#traveldroid --verbose
|
{
|
||||||
debug: nixos_rebuild.process: calling run with args=['nix', '--extra-experimental-features', 'nix-command flakes', 'build', '--print-out-paths', '.#nixosConfigurations."traveldroid".config.system.build.nixos-rebuild', '-v', '--no-link'], kwargs={'stdout': -1}, env=None, append_local_env=None
|
config,
|
||||||
debug: nixos_rebuild.process: captured output with stdout='/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05\n', stderr=None
|
pkgs,
|
||||||
building the system configuration...
|
lib,
|
||||||
debug: nixos_rebuild.process: calling run with args=['nix', '--extra-experimental-features', 'nix-command flakes', 'build', '--print-out-paths', '.#nixosConfigurations."traveldroid".config.system.build.toplevel', '--no-link', '-v'], kwargs={'stdout': -1}, env=None, append_local_env=None
|
user,
|
||||||
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
|
flakeRoot,
|
||||||
error:
|
...
|
||||||
… while calling the 'head' builtin
|
}:
|
||||||
at /nix/store/2dq7fygjqxv4k5173kr1b6vimi38jjsb-source/lib/attrsets.nix:1712:13:
|
|
||||||
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
|
|
||||||
1712| head values
|
|
||||||
| ^
|
|
||||||
1713| else
|
|
||||||
|
|
||||||
… while evaluating the attribute 'value'
|
let
|
||||||
at /nix/store/2dq7fygjqxv4k5173kr1b6vimi38jjsb-source/lib/modules.nix:1159:7:
|
hyprlandFiles = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr");
|
||||||
1158| // {
|
in
|
||||||
1159| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
|
{
|
||||||
| ^
|
programs.hyprland = {
|
||||||
1160| inherit (res.defsFinal') highestPrio;
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
… while evaluating the option `system.build.toplevel':
|
home-manager.users.${user.username} = {
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
home.username = user.username;
|
||||||
|
home.homeDirectory =
|
||||||
|
config.home-manager.users.${user.username}.homeDirectory or "/home/${user.username}";
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/2dq7fygjqxv4k5173kr1b6vimi38jjsb-source/nixos/modules/system/activation/top-level.nix':
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
… while evaluating the option `home-manager.users.henrov.home.file':
|
# First create the directory structure
|
||||||
|
xdg.configFile = {
|
||||||
… while evaluating definitions from `/nix/store/irrzc95wr3yb4dr0whyg6n4hbr0mmq8f-source/modules/misc/xdg.nix':
|
"hypr/.keep" = {
|
||||||
|
text = "";
|
||||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
};
|
||||||
|
}
|
||||||
error: A definition for option `home-manager.users.henrov.xdg.configFile."animations.conf"' is not of type `submodule'. TypeError: Definition values:
|
// lib.genAttrs hyprlandFiles (name: {
|
||||||
- In `/nix/store/133r1jgaj1v9890gyzha3hkp9fgwvxik-source/Droidnix/generated/hyprland/hyprland.nix': "hypr/animations.conf"
|
"hypr/${name}" = {
|
||||||
Traceback (most recent call last):
|
source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/__init__.py", line 397, in main
|
};
|
||||||
execute(sys.argv)
|
});
|
||||||
~~~~~~~^^^^^^^^^^
|
};
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/__init__.py", line 360, in execute
|
}
|
||||||
services.build_and_activate_system(
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
|
||||||
action=action,
|
|
||||||
^^^^^^^^^^^^^^
|
|
||||||
...<6 lines>...
|
|
||||||
grouped_nix_args=grouped_nix_args,
|
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
||||||
)
|
|
||||||
^
|
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/services.py", line 312, in build_and_activate_system
|
|
||||||
path_to_config = _build_system(
|
|
||||||
attr=attr,
|
|
||||||
...<5 lines>...
|
|
||||||
grouped_nix_args=grouped_nix_args,
|
|
||||||
)
|
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/services.py", line 176, in _build_system
|
|
||||||
path_to_config = nix.build_flake(
|
|
||||||
attr,
|
|
||||||
...<3 lines>...
|
|
||||||
| grouped_nix_args.flake_eval_flags,
|
|
||||||
)
|
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/nix.py", line 91, in build_flake
|
|
||||||
r = run_wrapper(run_args, stdout=PIPE)
|
|
||||||
File "/nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05/lib/python3.13/site-packages/nixos_rebuild/process.py", line 261, in run_wrapper
|
|
||||||
r = subprocess.run(
|
|
||||||
final_args,
|
|
||||||
...<5 lines>...
|
|
||||||
**kwargs,
|
|
||||||
)
|
|
||||||
File "/nix/store/m1fw8l8y9ycxh5dzispbb7cwl6rra14l-python3-3.13.12/lib/python3.13/subprocess.py", line 577, in run
|
|
||||||
raise CalledProcessError(retcode, process.args,
|
|
||||||
output=stdout, stderr=stderr)
|
|
||||||
subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command flakes', 'build', '--print-out-paths', '.#nixosConfigurations."traveldroid".config.system.build.toplevel', '--no-link', '-v']' returned non-zero exit status 1.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user