Commit 9d10842e authored by Lin Jian's avatar Lin Jian
Browse files

emacs.pkgs.p4-16-mode: remove unneeded override

This is not needed because we vendor fixes for Emacs bug#77143 and
bug#80744 in elpa2nix.el.
parent 4c1018da
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -20,21 +20,5 @@ in
      yasnippet
    ]
  );

  p4-16-mode = super.p4-16-mode.overrideAttrs {
    # workaround https://github.com/NixOS/nixpkgs/issues/301795
    prePatch = ''
      mkdir tmp-untar-dir
      pushd tmp-untar-dir

      tar --extract --verbose --file=$src
      content_directory=$(echo p4-16-mode-*)
      cp --verbose $content_directory/p4-16-mode-pkg.el $content_directory/p4-pkg.el
      src=$PWD/$content_directory.tar
      tar --create --verbose --file=$src $content_directory

      popd
    '';
  };
  # keep-sorted end
}