Open
Description
When I add RedNix as a flake input and import the container, I get this error.
error:
… while calling the 'head' builtin
at /nix/store/m9s94alic7s2r6v47p7lwfj58ibc076a-source/lib/attrsets.nix:960:11:
959| || pred here (elemAt values 1) (head values) then
960| head values
| ^
961| else
… while evaluating the attribute 'value'
at /nix/store/m9s94alic7s2r6v47p7lwfj58ibc076a-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: function 'anonymous lambda' called without required argument 'pkgs'
at /nix/store/7w4cdnbfmw98digym39n258k5fzaxp99-source/container-config.nix:1:1:
1| {
| ^
2| pkgs,
When I create the container imperatively with nixos-container
commands, I get the following error.
error:
… while updating the lock file of flake 'github:redcode-labs/rednix/8e974d3c53701c2c2d48ec39fc8a586b022437e4'
error: cannot write modified lock file of flake 'github:redcode-labs/rednix' (use '--no-write-lock-file' to ignore)
/run/current-system/sw/bin/nixos-container: failed to build container from flake 'github:redcode-labs/rednix'