fix(rust): fix krantz.rust.package.extraAttrs option
This commit is contained in:
+2
-3
@@ -180,10 +180,9 @@
|
||||
# Accessible through 'nix build', 'nix shell', 'nix run', etc
|
||||
packages = lib.mkIf cfg.package.enable {
|
||||
${cfg.package.name} =
|
||||
craneLib.buildPackage {
|
||||
craneLib.buildPackage ({
|
||||
inherit src buildInputs nativeBuildInputs cargoArtifacts;
|
||||
}
|
||||
// cfg.package.extraAttrs;
|
||||
} // cfg.package.extraAttrs);
|
||||
};
|
||||
|
||||
# Formatter for nix files, available through 'nix fmt'
|
||||
|
||||
Reference in New Issue
Block a user