fix(rust): devShell.extraAttrs not working

This commit is contained in:
2026-10-14 16:49:31 -05:00
parent 00ab3b0148
commit 611016c8d1
+2 -3
View File
@@ -216,8 +216,7 @@
# Available through 'nix develop' # Available through 'nix develop'
# Also can be activated automatically if direnv is installed on the system with 'direnv allow' # Also can be activated automatically if direnv is installed on the system with 'direnv allow'
devShells = lib.mkIf cfg.devShell.enable { devShells = lib.mkIf cfg.devShell.enable {
${cfg.devShell.name} = ${cfg.devShell.name} = craneLib.devShell ({
craneLib.devShell {
inherit (self') checks; inherit (self') checks;
# extra tooling dependencies # extra tooling dependencies
@@ -225,7 +224,7 @@
inputsFrom = [self'.packages.${cfg.package.name}]; inputsFrom = [self'.packages.${cfg.package.name}];
} }
// cfg.devShell.extraAttrs; // cfg.devShell.extraAttrs);
}; };
# Your custom packages # Your custom packages