sane-scripts: port sane-vpn-up to nix-shell
This commit is contained in:
parent
ff1aece1ed
commit
4a18dfeef3
|
@ -286,6 +286,11 @@ let
|
|||
src = ./src;
|
||||
pkgs = [ "coreutils-full" "gnugrep" "gnused" "sane-scripts.ip-check" "systemd" ];
|
||||
};
|
||||
vpn-up = static-nix-shell.mkBash {
|
||||
pname = "sane-vpn-up";
|
||||
src = ./src;
|
||||
pkgs = [ "coreutils-full" "gnugrep" "gnused" "sane-scripts.ip-check" "systemd" ];
|
||||
};
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p coreutils-full -p gnugrep -p gnused -p sane-scripts.ip-check -p systemd
|
||||
|
||||
# first arg should be the region, e.g. `us` or `ukr`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user