anchor.diff:      # needed to patch shebangs
       python3 bash
     ] ++ lib.optional stdenv.isLinux libselinux;
  -
  -  patches = [
  -    # Fix compilation on aarch64, remove on next update
  -    (fetchpatch {
  -      url = "https://github.com/libreswan/libreswan/commit/ea50d36d2886e44317ba5ba841de1d1bf91aee6c.patch";
  -      sha256 = "1jp89rm9jp55zmiyimyhg7yadj0fwwxaw7i5gyclrs38w3y1aacj";
  -    })
  -  ];
   
     prePatch = ''
       # Correct iproute2 path
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "libreswan";
    version = "4.4";
  
    src = fetchurl {
      url = "https://download.libreswan.org/${pname}-${version}.tar.gz";
      sha256 = "0xj974yc0y1r7235zl4jhvxqz3bpb8js2fy9ic820zq9swh0lgsz";
    };
  
    strictDeps = true;
  
negative.code:         -i configs/Makefile
    '';
  
    makeFlags = [
      "PREFIX=$(out)"
      "INITSYSTEM=systemd"
      "UNITDIR=$(out)/etc/systemd/system/"
      "TMPFILESDIR=$(out)/lib/tmpfiles.d/"
  