Skip to content

Commit

Permalink
refactor(examples): update example flakes for modern nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrubek committed Mar 17, 2024
1 parent 81bfb6a commit 90085ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/flake-module/flake-parts/terraform.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# p.tfe
# p.vault
];
terraform = pkgs.terraform.withPlugins terraformPluginsPredicate;
terraform = pkgs.opentofu.withPlugins terraformPluginsPredicate;
in rec {
packages = {
# expose terraform with the pinned providers
Expand Down
2 changes: 1 addition & 1 deletion examples/flake-module/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
pre-commit-hooks,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit self;} {
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux"];
imports = [
pre-commit-hooks.flakeModule
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/flake-parts/terraform.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# p.tfe
# p.vault
];
terraform = pkgs.terraform.withPlugins terraformPluginsPredicate;
terraform = pkgs.opentofu.withPlugins terraformPluginsPredicate;
in rec {
packages = {
# expose terraform with the pinned providers
Expand Down
2 changes: 1 addition & 1 deletion examples/lib/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
pre-commit-hooks,
...
} @ inputs:
flake-parts.lib.mkFlake {inherit self;} {
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux"];
imports = [
pre-commit-hooks.flakeModule
Expand Down

0 comments on commit 90085ca

Please sign in to comment.