fix(rust): devShell.extraAttrs not working
This commit is contained in:
+2
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user