zakjan / cert-chain-resolver

SSL certificate chain resolver
MIT License
807 stars 85 forks source link

dont install /bin/tests #27

Closed milahu closed 6 months ago

milahu commented 6 months ago

by default, the builder installs /bin/cert-chain-resolver and /bin/tests

with cert-chain-resolver.nix

$ nix-build . -A cert-chain-resolver
this derivation will be built:
  /nix/store/f3jz7x81nzzv4ifnhk7818cxqshzclk2-cert-chain-resolver-1.0.4.drv
building '/nix/store/f3jz7x81nzzv4ifnhk7818cxqshzclk2-cert-chain-resolver-1.0.4.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/zfa0dgrv8jsmxqg2vd2wlkb27h6458yf-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Building subPackage .
Building subPackage ./certUtil
Building subPackage ./tests
buildPhase completed in 3 minutes 29 seconds
Running phase: installPhase
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4
shrinking /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4/bin/tests
shrinking /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4/bin/cert-chain-resolver
checking for references to /build/ in /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4...
patching script interpreter paths in /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4
stripping (with command strip and flags -S -p) in  /nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4/bin
/nix/store/bxm3l6k2l2cig20lyam5sqg0yyifzb5y-cert-chain-resolver-1.0.4

$ ./result/bin/
cert-chain-resolver  tests
zakjan commented 6 months ago

@milahu Could you send a PR, please?

milahu commented 6 months ago

nope, sorry

low priority, feel free to ignore