Skip to content

Instantly share code, notes, and snippets.

@wpcarro
Last active October 12, 2022 15:20
Show Gist options
  • Select an option

  • Save wpcarro/0940f4033bb07d9a85a75df961ec3fdd to your computer and use it in GitHub Desktop.

Select an option

Save wpcarro/0940f4033bb07d9a85a75df961ec3fdd to your computer and use it in GitHub Desktop.
sanity-checking some cursed Nix
# Example usage of pinned-release
{ pkgs, repo, ... }:
let
inherit (repo.ops.iac.aquaappia) terraform;
in
terraform.pinned-release {
path = ./.;
releases = {
production = terraform.versions.production;
development = terraform.versions.development;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment