wigust pushed a commit to branch master
in repository guix.

commit 7eea3afd02ae613d74e5c17a37d84ed8fbec9c44
Author: Oleg Pykhalov <[email protected]>
AuthorDate: Wed Jan 8 07:21:08 2020 +0300

    gnu: irssi: Update to 1.2.2.
    
    * gnu/packages/irc.scm (irssi)[version]: Update to 1.2.2.
    [arguments]: Set HOME environment variable to current working directory 
before
    'check' phase.
---
 gnu/packages/irc.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index ae3ef82..f39da03 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2016 ng0 <[email protected]>
 ;;; Copyright © 2017 Marius Bakke <[email protected]>
 ;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
+;;; Copyright © 2020 Oleg Pykhalov <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -127,7 +128,7 @@ irssi, but graphical.")
 (define-public irssi
   (package
     (name "irssi")
-    (version "1.1.3")
+    (version "1.2.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://github.com/irssi/irssi/";
@@ -135,7 +136,7 @@ irssi, but graphical.")
                                   version ".tar.xz"))
               (sha256
                (base32
-                "0jq8zjdhdjxkjbfl4g4nfr1ninyfxffa27lm8vcyrihhhkrn65yf"))))
+                "0y3mhnyr7x8ir8dlj83vbnchpfld28vdfni9yhpvls45j460c9v7"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
@@ -148,7 +149,10 @@ irssi, but graphical.")
                        (string-append "--prefix=" out)
                        (string-append "--with-proxy")
                        (string-append "--with-socks")
-                       (string-append "--with-bot"))))))))
+                       (string-append "--with-bot")))))
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))))))
     (inputs
      `(("glib" ,glib)
        ("ncurses" ,ncurses)

Reply via email to