diff --git a/hacking/nix/rust-utils/crate-utils.nix b/hacking/nix/rust-utils/crate-utils.nix index d14c3d1c4..ca59429a2 100644 --- a/hacking/nix/rust-utils/crate-utils.nix +++ b/hacking/nix/rust-utils/crate-utils.nix @@ -105,9 +105,7 @@ rec { }; in lib.optionalAttrs (linker != null) { - target = { - "${targetTriple.name}".linker = linker; - }; + target."${targetTriple.name}".linker = linker; }; in clobber [