that’s not the issue here since I’m using --impure
this is the exact error :
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'nixos-system-nixos-home-desktop-25.05.20251110.c244830'
whose name attribute is located at /nix/store/y49qqnpqd04nkkanxrq1x637qa61ckpg-source/pkgs/stdenv/generic/make-derivation.nix:480:13
… while evaluating attribute 'buildCommand' of derivation 'nixos-system-nixos-home-desktop-25.05.20251110.c244830'
at /nix/store/y49qqnpqd04nkkanxrq1x637qa61ckpg-source/nixos/modules/system/activation/top-level.nix:68:7:
67| passAsFile = [ "extraDependencies" ];
68| buildCommand = systemBuilder;
| ^
69|
… while evaluating the option `system.systemBuilderCommands':
… while evaluating definitions from `/nix/store/y49qqnpqd04nkkanxrq1x637qa61ckpg-source/nixos/modules/system/activation/specialisation.nix':
… while evaluating the option `specialisation.c2.configuration':
… while evaluating the module argument `pkgs' in "/nix/store/y49qqnpqd04nkkanxrq1x637qa61ckpg-source/nixos/modules/services/hardware/bluetooth.nix":
… while evaluating definitions from `<unknown-file>':
… while evaluating the option `nixpkgs.pkgs':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: The option `nixpkgs.pkgs' was accessed but has no value defined. Try setting the option.