From d53f42a522452fd4c05d6adb540f18604d380beb Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Tue, 24 Sep 2024 20:59:24 +0800 Subject: [PATCH] cargo2junit: nixfmt; move to by-name --- .../default.nix => by-name/ca/cargo2junit/package.nix} | 6 +++++- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) rename pkgs/{development/tools/rust/cargo2junit/default.nix => by-name/ca/cargo2junit/package.nix} (93%) diff --git a/pkgs/development/tools/rust/cargo2junit/default.nix b/pkgs/by-name/ca/cargo2junit/package.nix similarity index 93% rename from pkgs/development/tools/rust/cargo2junit/default.nix rename to pkgs/by-name/ca/cargo2junit/package.nix index 907d92e3c437..c007a123fcca 100644 --- a/pkgs/development/tools/rust/cargo2junit/default.nix +++ b/pkgs/by-name/ca/cargo2junit/package.nix @@ -1,4 +1,8 @@ -{ fetchCrate, lib, rustPlatform }: +{ + fetchCrate, + lib, + rustPlatform, +}: rustPlatform.buildRustPackage rec { pname = "cargo2junit"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 680caff0dbcc..c5c3d9ba9b3d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15696,8 +15696,6 @@ with pkgs; ); buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { }; - cargo2junit = callPackage ../development/tools/rust/cargo2junit { }; - cargo-web = callPackage ../development/tools/rust/cargo-web { inherit (darwin.apple_sdk.frameworks) CoreServices Security; };