sane-scripts: port sane-ssl-dump to nix-shell
This commit is contained in:
parent
6bbb5669a6
commit
a40fc7e112
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user