Skip to content

Commit 22d988e

Browse files
committed
fix: remove description from final crate drv
1 parent a7e4e9d commit 22d988e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crate2nix/templates/nix/crate2nix/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ rec {
425425
lib.mapAttrs (name: builtins.map versionAndRename) grouped;
426426
in
427427
buildRustCrateForPkgsFunc pkgs (
428-
crateConfig
428+
# description can contain invalid characters for shell variables
429+
(lib.removeAttrs crateConfig [ "description" ])
429430
// {
430431
pname = crateConfig.crateName;
431432
inherit (crateConfig) version;

0 commit comments

Comments
 (0)