From 0013e65cc00c55d481b563afae53ba0b1a930b17 Mon Sep 17 00:00:00 2001 From: siph Date: Mon, 23 Oct 2023 12:55:27 -0600 Subject: [PATCH 1/2] diesel-cli-ext: migrate to by-name --- .../default.nix => by-name/di/diesel-cli-ext/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/tools/diesel-cli-ext/default.nix => by-name/di/diesel-cli-ext/package.nix} (100%) diff --git a/pkgs/development/tools/diesel-cli-ext/default.nix b/pkgs/by-name/di/diesel-cli-ext/package.nix similarity index 100% rename from pkgs/development/tools/diesel-cli-ext/default.nix rename to pkgs/by-name/di/diesel-cli-ext/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bdcbe115f01f5..480bb3d6462e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5043,8 +5043,6 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; - diesel-cli-ext = callPackage ../development/tools/diesel-cli-ext { }; - refinery-cli = callPackage ../development/tools/refinery-cli { }; digitemp = callPackage ../tools/misc/digitemp { }; From efb11caae5563c164373febd4bd23e78f4a5933c Mon Sep 17 00:00:00 2001 From: siph Date: Mon, 23 Oct 2023 13:00:55 -0600 Subject: [PATCH 2/2] diesel-cli-ext: fix mainProgram name --- pkgs/by-name/di/diesel-cli-ext/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/di/diesel-cli-ext/package.nix b/pkgs/by-name/di/diesel-cli-ext/package.nix index 3e784090398be..7b118b3ce7e07 100644 --- a/pkgs/by-name/di/diesel-cli-ext/package.nix +++ b/pkgs/by-name/di/diesel-cli-ext/package.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { description = "Provides different tools for projects using the diesel_cli"; homepage = "https://crates.io/crates/diesel_cli_ext"; license = with licenses; [ asl20 mit ]; + mainProgram = "diesel_ext"; maintainers = with maintainers; [ siph ]; }; }