Skip to content

Commit

Permalink
package/azure-cli-with-extensions: remove, use upstream `withExtensio…
Browse files Browse the repository at this point in the history
…ns` as overlay

Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Apr 12, 2024
1 parent 171eb67 commit 7e83635
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
5 changes: 5 additions & 0 deletions overlays/nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ final: prev: {
hash = "sha256-N06oKyiexzjpaCZ8rFnH1f8YD5SSJQJUeEsgROkN9ak=";
};
});

# Add the required extensions to the Azure CLI.
azure-cli = prev.azure-cli.withExtensions (with prev.azure-cli.extensions; [
aks-preview
]);
}
32 changes: 0 additions & 32 deletions packages/by-name/azure-cli-with-extensions/package.nix

This file was deleted.

6 changes: 3 additions & 3 deletions packages/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ with pkgs;
{
create-coco-aks = writeShellApplication {
name = "create-coco-aks";
runtimeInputs = [ azure-cli-with-extensions ];
runtimeInputs = [ azure-cli ];
text = builtins.readFile ./create-coco-aks.sh;
};

destroy-coco-aks = writeShellApplication {
name = "destroy-coco-aks";
runtimeInputs = [ azure-cli-with-extensions ];
runtimeInputs = [ azure-cli ];
text = builtins.readFile ./destroy-coco-aks.sh;
};

Expand Down Expand Up @@ -228,7 +228,7 @@ with pkgs;
get-azure-sku-locations = writeShellApplication {
name = "get-azure-sku-locations";
runtimeInputs = [
azure-cli-with-extensions
azure-cli
jq
];
text = ''
Expand Down

0 comments on commit 7e83635

Please sign in to comment.