guix-channel

A channel for the Guix package manager

git clone https://git.8pit.net/guix-channel.git

 1(define-module (nmeum packages misc)
 2  #:use-module (srfi srfi-26)
 3  #:use-module (guix)
 4  #:use-module (gnu packages shells))
 5
 6;; TODO: Use package-with-extra-patches somehow, however, we need to change
 7;; the package name somehow as loksh would otherwise be ambiguous and not
 8;; sure how do that on a package returned by package-with-extra-patches.
 9(define-public loksh-bracketed
10  (package
11    (inherit loksh)
12    (name "loksh-bracketed")
13    (source
14     (origin
15       (inherit (package-source loksh))
16       (patches (map (lambda (patch)
17                       (search-path (map (cut string-append <>
18                                              "/nmeum/packages/patches")
19                                         %load-path) patch))
20                     '("loksh-bracketed-paste-mode.patch")))))))