error: attribute 'enableStrictShellChecks' missing
Closed this issue · 1 comments
phanirithvij commented
Describe the bug
upcoming nixpkgs has broken system-manager config build (NixOS/nixpkgs#311394 broke it)
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'system-manager'
whose name attribute is located at /nix/store/pp1q3ri869abriyihbxpc0kzkg3mm6yl-source/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute 'buildCommand' of derivation 'system-manager'
at /nix/store/pp1q3ri869abriyihbxpc0kzkg3mm6yl-source/pkgs/build-support/trivial-builders/default.nix:59:16:
58| enableParallelBuilding = true;
59| inherit buildCommand name;
| ^
60| passAsFile = [ "buildCommand" ]
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'enableStrictShellChecks' missing
at /nix/store/pp1q3ri869abriyihbxpc0kzkg3mm6yl-source/nixos/lib/systemd-lib.nix:474:53:
473|
474| enableStrictShellChecks = lib.mkOptionDefault nixosConfig.systemd.enableStrictShellChecks;
| ^
475| };
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/phanirithvij/nix-sysm-enableStrictShellChecks-bugreport
nix build .#systemConfigs.default # BAD
git revert HEAD
nix build .#systemConfigs.default # GOOD
System information
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.6.53, NixOS, 24.11 (Vicuna), 24.11.20241004.bc947f5`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.8`
- channels(root): `"nixos"`
- nixpkgs: `/nix/store/sdzpqjwx7pdx6lsq6llyfqqf7hspp83c-source`
Meliketoaste commented
this is true for me too