all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Greg Hogan <code@greghogan.com>
Cc: 45843-done@debbugs.gnu.org
Subject: bug#45843: [PATCH 0/2] gnu: bcc: Update to 0.18.0.
Date: Thu, 28 Jan 2021 20:28:08 +0200	[thread overview]
Message-ID: <YBMCOLiCqlO7Urxk@3900XT> (raw)
In-Reply-To: <CA+3U0Zkp41cSB-YjDJn1Q5fOeZQO1ohLy7N_5Cseq-=Xd+rDJw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 822 bytes --]

On Thu, Jan 28, 2021 at 12:03:57PM -0500, Greg Hogan wrote:
> Thank you for verifying this. Is there a way to select and locally build a
> full (but small) set of package dependents?

I have a script I use that uses fold-packages to find the packages which
directly have a specific package as an input. I'm trying to get it to
work with inputs, but for now I manually edit it to add the package and
run it guile. I've attached it.

> bpftrace, bcc, and libbpf only compile for me with libbpf 0.1.1 and bcc
> 0.16.0. New patches below and attached.

Thanks, it all looks good now. Patches pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: direct-dependants.scm --]
[-- Type: text/plain, Size: 684 bytes --]

;#!/run/current-system/profile/bin/guile -e main -s
#!/run/current-system/profile/bin/guile -s
!#

(use-modules
  (gnu packages)
  (guix packages)
  (srfi srfi-1)
  (srfi srfi-26))

(fold-packages
  (lambda (package _)
    (when (any (cut eq? <> (specification->package "clisp"))
               (map second (package-direct-inputs package)))
      (format #t "~a " (package-full-name package))))
  #t)

;(define (main input)
;  (display
;    (fold-packages
;      (lambda (package _)
;        (when (any (cut eq? <> (specification->package (cadr input)))
;                   (map second (package-direct-inputs package)))
;          (package-full-name package)))
;      #t)))
(newline)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-01-28 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 15:14 [bug#45843] [PATCH 0/2] gnu: bcc: Update to 0.18.0 Greg Hogan
     [not found] ` <handler.45843.B.161055088832426.ack@debbugs.gnu.org>
2021-01-13 15:19   ` [bug#45843] [PATCH 1/2] gnu: libbpf: Update to 0.3 Greg Hogan
2021-01-13 15:20   ` [bug#45843] [PATCH 2/2] gnu: bcc: Update to 0.18.0 Greg Hogan
2021-01-20  9:06 ` [bug#45843] [PATCH 0/2] " Efraim Flashner
2021-01-28 17:03   ` Greg Hogan
2021-01-28 18:28     ` Efraim Flashner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YBMCOLiCqlO7Urxk@3900XT \
    --to=efraim@flashner.co.il \
    --cc=45843-done@debbugs.gnu.org \
    --cc=code@greghogan.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.