sane-scripts: port sane-ssl-dump to nix-shell

This commit is contained in:
Colin 2023-06-07 07:12:42 +00:00
parent 6bbb5669a6
commit a40fc7e112
2 changed files with 7 additions and 1 deletions

View File

@ -256,6 +256,11 @@ let
src = ./src;
pkgs = [ "inetutils" "systemd" ];
};
ssl-dump = static-nix-shell.mkBash {
pname = "sane-ssl-dump";
src = ./src;
pkgs = [ "openssl" ];
};
};
in
symlinkJoin {

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p openssl
# dump info about the provided SSL certificate
cert="$1"