Ludovic Courtès <l...@gnu.org> writes: > Hi, > > ng0 <n...@we.make.ritual.n0.is> skribis: > >>> The ‘nss-certs’ package provides X.509 certificates: >>> >>> >>> https://www.gnu.org/software/guix/manual/html_node/X_002e509-Certificates.html >> >> I commented nss-certs, enabled or disabled it made no difference to the >> resulting binary. > > You need to have ‘nss-certs’ installed, *and* set the environment > variables mentioned above (depending on whether you use OpenSSL, GnuTLS, > Git, etc.; for GnuTLS, I think there’s no such environment variable.) > > HTH! > Ludo’.
Thanks. Can you be more specific on why it could fail when all of this is set in the user environment? I did all of this, and it still fails. environment values exported in my user profile, nss-certs installed in user profile and system wide, set nss-certs as an input of pbpst, still: ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --help Usage: pbpst <operation> [option ...] pbpst -- a simple tool to pastebin from the command-line Operations: -S, --sync Create a paste -s, --shorten=URL Create a redirect to URL -R, --remove Delete a paste -U, --update Update a paste -D, --database Operate on the database Options: -h, --help List this help and exit -b, --dbpath=PATH Use the database at PATH -P, --provider=HOST Use HOST as the pb provider -V, --verbose Output verbosely --list-lexers List available lexers and exit --list-themes List available themes and exit --list-formats List available formatters and exit --version List the version and exit Run `pbpst -h` with an operation for help with that operation ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --list-lexers pbpst: Could not create the swap db: File exists pbpst: Ensure no other instances of pbpst are running and that all pastes have been saved pbpst: Then manually remove: /home/ng0/.config/pbpst/.db.json.swp ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ rm /home/ng0/.config/pbpst/.db.json.swp ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --list-lexers pbpst: Listing failed: Peer certificate cannot be authenticated with given CA certificates -- ng0 For non-prism friendly talk find me on http://www.psyced.org