lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

wireguard-tools: add updateScript

+9
+2
pkgs/tools/networking/wireguard-tools/default.nix
··· 37 37 done 38 38 ''; 39 39 40 + passthru.updateScript = ./update.sh; 41 + 40 42 meta = with stdenv.lib; { 41 43 description = "Tools for the WireGuard secure network tunnel"; 42 44 downloadPage = https://git.zx2c4.com/WireGuard/refs/;
+7
pkgs/tools/networking/wireguard-tools/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl gnused common-updater-scripts 3 + 4 + set -eu -o pipefail 5 + 6 + version="$(curl -sL https://build.wireguard.com/distros.txt | sed -n 's/^upstream\tkmodtools\t\([^\t]\+\)\t.*/\1/p')" 7 + update-source-version wireguard-tools "$version"