Pin terraform version in flake #4

Merged
teutat3s merged 1 commit from fix/pin-terraform into main 2023-02-24 19:46:20 +00:00
2 changed files with 20 additions and 1 deletions
Showing only changes of commit cf3a3da6c4 - Show all commits

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