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