diff options
author | Maxim Cournoyer <[email protected]> | 2024-05-08 10:44:28 -0400 |
---|---|---|
committer | Maxim Cournoyer <[email protected]> | 2024-05-29 21:55:24 -0400 |
commit | 401086dbc796ac4ba08f49b7328602edabdc6492 (patch) | |
tree | f5d834f3964ccc95569509ff3e898a0e2cbc1055 | |
parent | 17a9ea9b016a7bbe1a032a6cff118614d1315be8 (diff) |
gnu: libbpf: Use gexps.
* gnu/packages/linux.scm (libbpf) [arguments]: Use gexps.
Change-Id: I5529cda3b316a24b48f4a33bfd685695614350bb
-rw-r--r-- | gnu/packages/linux.scm | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c555ebdb47..fc1127f319 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9833,31 +9833,27 @@ persistent over reboots.") (base32 "1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm")))) (build-system gnu-build-system) - (native-inputs - (list pkg-config)) - (propagated-inputs - ;; In Requires.private of libbpf.pc. - (list elfutils zlib)) (arguments - `(#:tests? #f ; no tests - #:make-flags - (list - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "LIBDIR=$(PREFIX)/lib") - (string-append "CC=" ,(cc-for-target))) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'pre-build - (lambda _ - (chdir "src")))))) + (list + #:tests? #f ;self-tests run in QEMU + #:make-flags + #~(list (string-append "PREFIX=" #$output) + (string-append "LIBDIR=$(PREFIX)/lib") + (string-append "CC=" #$(cc-for-target))) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'pre-build + (lambda _ + (chdir "src")))))) + (native-inputs (list pkg-config)) + (propagated-inputs (list elfutils zlib)) ;in Requires.private of libbpf.pc (home-page "https://github.com/libbpf/libbpf") (synopsis "BPF CO-RE (Compile Once – Run Everywhere)") (description "Libbpf supports building BPF CO-RE-enabled applications, which, in contrast to BCC, do not require the Clang/LLVM runtime or linux kernel headers.") - (license `(,license:lgpl2.1 ,license:bsd-2)))) + (license (list license:lgpl2.1 license:bsd-2)))) (define-public bcc (package |