diff options
author | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
commit | d13ed52da216ece35af8e4f4ae413eb05912794b (patch) | |
tree | a4313f1c21fb309ffea89be715be640376935cfb /gnu/packages/busybox.scm | |
parent | bdfdb9d79d83c806ea59a9bdd99b5a786d14999c (diff) | |
parent | a7737f0ead2293536b9d0ba253de4673378a0ffa (diff) | |
download | guix-d13ed52da216ece35af8e4f4ae413eb05912794b.tar.gz |
Merge branch 'ungrafting' into staging
Diffstat (limited to 'gnu/packages/busybox.scm')
-rw-r--r-- | gnu/packages/busybox.scm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm index 0a93c6475e..7fc065f7ac 100644 --- a/gnu/packages/busybox.scm +++ b/gnu/packages/busybox.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 John Darrington <jmd@gnu.org> -;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; ;;; This file is part of GNU Guix. @@ -22,6 +22,7 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -32,7 +33,7 @@ (define-public busybox (package (name "busybox") - (version "1.31.1") + (version "1.32.0") (source (origin (method url-fetch) (uri (string-append @@ -40,10 +41,7 @@ version ".tar.bz2")) (sha256 (base32 - "1659aabzp8w4hayr4z8kcpbk2z1q2wqhw7i1yb0l72b45ykl1yfh")) - (patches - (search-patches - "busybox-1.31.1-fix-build-with-glibc-2.31.patch")))) + "12g63zsvzfz04wbyga8riyl8ils05riw4xf26cyiaasbs3qqfpf3")))) (build-system gnu-build-system) (arguments '(#:phases @@ -90,7 +88,7 @@ ;; true in guix build environment (substitute* "testsuite/pidof.tests" (("-s init") "-s $(cat /proc/1/comm)")) - + ;; This test cannot possibly pass. ;; It is trying to test that "which ls" returns "/bin/ls" when PATH is not set. ;; However, this relies on /bin/ls existing. Which it does not in guix. @@ -135,11 +133,11 @@ any small or embedded system.") "00aw9d809wj1bqlb2fsssdgz7rj0363ya14py0gfdm0rkp98zcpa")))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (add-before 'configure 'set-environment-variables (lambda _ - (setenv "CC" (which "gcc")) + (setenv "CC" ,(cc-for-target)) (setenv "HOSTCC" (which "gcc")) #t)) (replace 'configure |