Skip to content

Commit

Permalink
rust: format rust.nix correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
eyJhb committed Nov 16, 2024
1 parent 9f9c70d commit ad473c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/languages/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ in

(lib.mkIf (cfg.channel != "nixpkgs") (
let
toolchain = (rust-overlay.lib.mkRustBin {} pkgs.buildPackages)."${cfg.channel}"."${cfg.version}";
toolchain = (rust-overlay.lib.mkRustBin { } pkgs.buildPackages)."${cfg.channel}"."${cfg.version}";
filteredToolchain = (lib.filterAttrs (n: _: builtins.elem n toolchain._manifest.profiles.complete) toolchain);
in
{
Expand Down

0 comments on commit ad473c7

Please sign in to comment.