anchor.diff:          --set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad"
       '';
   
  -  passthru = { inherit openvpn-mullvad; };
  +  passthru = {
  +    inherit libwg;
  +    inherit openvpn-mullvad;
  +  };
   
     meta = with lib; {
       description = "Mullvad VPN command-line client tools";
  
positive.code:     # Put distributed assets in-place -- specifically, the
      # bootstrap-address-cache is necessary; otherwise, the user will have to run
      # the `address_cache` binary and move the contents into place at
      # `/var/cache/mullvad-vpn/api-ip-address.txt` manually. `ca.crt` is
      # necessary for OpenVPN tunnels to work.
      # XXX: Use of OpenVPN requires their fork of OpenVPN, which can be found at
      # https://github.com/mullvad/openvpn/tree/mullvad-patches/
      ''
        mkdir -p $out/share
        ln -s ${bootstrap-address-cache} $out/share/api-ip-address.txt
        cp dist-assets/ca.crt $out/share
      '' +
      # Set the directory where Mullvad will look for its resources by default to
      # `$out/share`, so that we can avoid putting the files in `$out/bin` --
  
negative.code: , libmnl
  , libwg
  , openvpn-mullvad
  , shadowsocks-rust
  }:
  let
    # result of running address_cache as of 02 Mar 2022
  