Pin terraform version in flake

pull/4/head
Benjamin Bädorf 2023-02-24 20:42:55 +01:00
parent e54844ef52
commit cf3a3da6c4
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
2 changed files with 20 additions and 1 deletions

View File

@ -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"
}
},

View File

@ -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
];
};
};