From cf3a3da6c457f2c4188d9d53e235a31fa8152ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Fri, 24 Feb 2023 20:42:55 +0100 Subject: [PATCH] Pin terraform version in flake --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index a76af0b..a220475 100644 --- a/flake.lock +++ b/flake.lock @@ -54,11 +54,28 @@ "type": "github" } }, + "nixpkgs-2205": { + "locked": { + "lastModified": 1672580127, + "narHash": "sha256-3lW3xZslREhJogoOkjeZtlBtvFMyxHku7I/9IVehhT8=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "0874168639713f547c05947c76124f78441ea46c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-22.05", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "devshell": "devshell", "flake-utils": "flake-utils", "nixpkgs": "nixpkgs", + "nixpkgs-2205": "nixpkgs-2205", "tritonshell-module": "tritonshell-module" } }, diff --git a/flake.nix b/flake.nix index b289354..51e33d1 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-2205.url = "github:nixos/nixpkgs/nixos-22.05"; flake-utils.url = "github:numtide/flake-utils"; @@ -16,7 +17,7 @@ tritonshell-module.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { self, flake-utils, devshell, tritonshell-module, nixpkgs }: + outputs = { self, flake-utils, devshell, tritonshell-module, nixpkgs, nixpkgs-2205 }: flake-utils.lib.simpleFlake { inherit self nixpkgs; name = "infra-project"; @@ -39,6 +40,7 @@ devshell.packages = with pkgs; [ # used by triton-ansible-inventory nodejs + nixpkgs-2205.legacyPackages.${pkgs.system}.terraform ]; }; };