{ lib , buildGoModule , fetchFromGitHub , makeWrapper , installShellFiles , docker , distrobox }: buildGoModule rec { pname = "apx"; version = "1.8.2"; src = fetchFromGitHub { owner = "Vanilla-OS"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-nBhSl4r7LlgCA5/HCLpOleihE5n/JCJgf43KdCklQbg="; }; vendorHash = null; ldflags = [ "-s" "-w" ]; nativeBuildInputs = [ makeWrapper installShellFiles ]; postInstall = '' mkdir -p $out/etc/apx cat > "$out/etc/apx/config.json" <