From 083f93ec5f69dd615fe78beee07352f1277c7e09 Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 9 Jun 2023 00:32:51 +0200 Subject: [PATCH] Update nixpkgs --- README.md | 11 +++++++++++ flake.lock | 30 ++++++++++++++++++++++++------ flake.nix | 4 ++-- 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ed653ed..7f9a463 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,14 @@ | --- | --- | | Hostname | `shamash` | | Domains | `{,pad.,codi.,ci.,git.,jupyter.,plantuml.}pbrinkmeier.de`, `tichy.click`, `beany.club`, `vmd98928.contaboserver.net` | + +## Linting + +Use `nix develop` to drop into a shell containing `ansible-lint`. +Then run it using + +``` +ansible-lint --offline +``` + +to avoid checking for a new version every single run. diff --git a/flake.lock b/flake.lock index 66057a5..020c8fc 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -17,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1663707275, - "narHash": "sha256-xRIlf8OWJLPxeF5y8iToWx9M1P3pUhPuyXeXUrIjaf8=", + "lastModified": 1686259070, + "narHash": "sha256-bJ2TqJHMdU27o3+AlYzsDooUzneFHwvK5LaRv5JYit4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2f8b8bc98da3cbcf287df9cb4fae4857282fe60a", + "rev": "8a7d5c039cacc83bd1926aaabc04d541e04a1460", "type": "github" }, "original": { @@ -35,6 +38,21 @@ "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 99509b5..31e8492 100644 --- a/flake.nix +++ b/flake.nix @@ -14,8 +14,8 @@ { devShells.default = pkgs.mkShell { buildInputs = [ - pkgs.python3Packages.ansible - pkgs.python3Packages.ansible-lint + pkgs.ansible + pkgs.ansible-lint ]; shellHook = ''