-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix blocked status and blocked status tests
- Loading branch information
Showing
4 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
description = "juju controller charm shell"; | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, ... } @ inputs: | ||
let | ||
forAllSystems = inputs.nixpkgs.lib.genAttrs [ | ||
"aarch64-linux" | ||
"x86_64-linux" | ||
"aarch64-darwin" | ||
]; | ||
in | ||
{ | ||
devShells = forAllSystems (system: { | ||
default = | ||
let | ||
pkgs = nixpkgs.legacyPackages.${system}; | ||
in | ||
pkgs.mkShell { | ||
name = "juju-controller-charm"; | ||
# Enable experimental features without having to specify the argument | ||
NIX_CONFIG = "experimental-features = nix-command flakes"; | ||
nativeBuildInputs = with pkgs; [ | ||
coreutils | ||
findutils | ||
zsh | ||
python312 | ||
]; | ||
shellHook = '' | ||
exec zsh | ||
''; | ||
}; | ||
}); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters