{ lib , buildGoModule , fetchFromGitHub , makeWrapper , installShellFiles , docker , distrobox }: buildGoModule rec { pname = "apx"; version = "1.4.2"; src = fetchFromGitHub { owner = "Vanilla-OS"; repo = pname; rev = version; sha256 = "sha256-BswX4Jo/RReM/tXo29V9rIvKjN8ylECPe0oo0FCQcGY="; }; vendorSha256 = null; ldflags = [ "-s" "-w" ]; nativeBuildInputs = [ makeWrapper installShellFiles ]; postInstall = '' mkdir -p $out/etc/apx cat > "$out/etc/apx/config.json" <