Unverified Commit 8d1beb88 authored by dish's avatar dish Committed by GitHub
Browse files

ant: rip out ant-contrib (#359137)

parents d3030a96 b03947ac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -278,6 +278,8 @@
- `libvirt` now supports using `nftables` backend.
  - The `virtualisation.libvirtd.firewallBackend` option can be used to configure the firewall backend used by libvirtd.

- The third-party `ant-contrib` is no longer included in the `ant` package.

- `systemd.extraConfig` and `boot.initrd.systemd.extraConfig` was converted to RFC42-style `systemd.settings.Manager` and `boot.initrd.systemd.settings.Manager` respectively.
  - `systemd.watchdog.runtimeTime` was renamed to `systemd.settings.Manager.RuntimeWatchdogSec`
  - `systemd.watchdog.device` was renamed to `systemd.settings.Manager.WatchdogDevice`
+0 −9
Original line number Diff line number Diff line
@@ -18,11 +18,6 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-h/SNGLoRwRVojDfvl1g+xv+J6mAz+J2BimckjaRxDEs=";
  };

  contrib = fetchurl {
    url = "mirror://sourceforge/ant-contrib/ant-contrib-1.0b3-bin.tar.bz2";
    sha256 = "1l8say86bz9gxp4yy777z7nm4j6m905pg342li1aphc14p5grvwn";
  };

  installPhase = ''
    mkdir -p $out/bin $out/share/ant
    mv * $out/share/ant/
@@ -37,10 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
    mkdir $out/share/ant/bin
    mv $out/bin/antRun $out/share/ant/bin/

    # Install ant-contrib.
    unpackFile $contrib
    cp -p ant-contrib/ant-contrib-*.jar $out/share/ant/lib/

    cat >> $out/bin/ant <<EOF
    #! ${stdenv.shell} -e