Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: packer 1.16.1 -> 1.16.2 https://repology.org/project/packer/versions attrpath: packer Checking auto update branch... No auto update branch exists Old version 1.16.1" not present in master derivation file with contents: { lib, buildGoModule, fetchFromGitHub, installShellFiles, callPackage, runCommand, }: buildGoModule (finalAttrs: { pname = "packer"; version = "1.16.2"; src = fetchFromGitHub { owner = "hashicorp"; repo = "packer"; tag = "v${finalAttrs.version}"; hash = "sha256-QHpOkhPnR9K3Nd5J2tcrwDRpl1udiaHgvHSFard+uK0="; }; vendorHash = "sha256-s0KvpPgkActwu7UFhfzZ5a8Qv8b+sNVScLLCwCxzrE8="; subPackages = [ "." ]; ldflags = [ "-s" "-w" ]; nativeBuildInputs = [ installShellFiles ]; postInstall = '' installShellCompletion --zsh contrib/zsh-completion/_packer ''; passthru = let pluginScope = callPackage ./plugins.nix { }; in { plugins = lib.filterAttrs (_: lib.isDerivation) pluginScope; withPlugins = f: (callPackage ./with-plugins.nix { packer = finalAttrs.finalPackage; packerPlugins = pluginScope; }) { selector = f; }; tests.withPlugins = let packer-with-docker = finalAttrs.passthru.withPlugins (ps: [ ps.docker ]); in runCommand "packer-test-with-plugins" { nativeBuildInputs = [ packer-with-docker ]; } '' packer plugins installed > output.txt cat output.txt expected_path="${finalAttrs.passthru.plugins.docker.pluginPath}" if ! grep -q "$expected_path" output.txt; then echo "ERROR: Expected plugin path not found in 'packer plugins installed' output" echo "Expected: $expected_path" echo "Got:" cat output.txt exit 1 fi touch $out ''; }; meta = { description = "Tool for creating identical machine images for multiple platforms from a single source configuration"; homepage = "https://www.packer.io"; license = lib.licenses.bsl11; maintainers = with lib.maintainers; [ zimbatm ma27 techknowlogick qjoly jlesquembre ]; changelog = "https://github.com/hashicorp/packer/blob/v${finalAttrs.version}/CHANGELOG.md"; }; })