From bd97e19d011eeafb4a182018ab2e247d9e6e83a3 Mon Sep 17 00:00:00 2001
From: ndowens <ndowens04@gmail.com>
Date: Sat, 18 Feb 2017 13:10:00 -0600
Subject: [PATCH] epic5: changed rm, cp, chmod to use pkgs.coreutils

epic5: removed pkgs from pkgs.coreutils

	modified:   pkgs/applications/networking/irc/epic5/default.nix
---
 pkgs/applications/networking/irc/epic5/default.nix | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pkgs/applications/networking/irc/epic5/default.nix b/pkgs/applications/networking/irc/epic5/default.nix
index 2daeab5d302..35e436eb715 100644
--- a/pkgs/applications/networking/irc/epic5/default.nix
+++ b/pkgs/applications/networking/irc/epic5/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl }:
+{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl, coreutils }:
 
 stdenv.mkDerivation rec {
   name = "epic5-${version}";
@@ -17,14 +17,14 @@ stdenv.mkDerivation rec {
 
   postConfigure = ''
     substituteInPlace bsdinstall \
-      --replace /bin/cp cp \
-      --replace /bin/rm rm \
-      --replace /bin/chmod chmod
+      --replace /bin/cp ${coreutils}/bin/cp \
+      --replace /bin/rm ${coreutils}/bin/rm \
+      --replace /bin/chmod ${coreutils}/bin/chmod \
   '';
 
   meta = with stdenv.lib; {
-    homepage = "http://epicsol.org/";
-    description = "a IRC client that offers a great ircII interface";
+    homepage = "http://epicsol.org";
+    description = "A IRC client that offers a great ircII interface";
     license = licenses.bsd3;
     maintainers = [ maintainers.ndowens ];
   };