diff --git a/srcpkgs/umoci/patches/which.patch b/srcpkgs/umoci/patches/which.patch new file mode 100644 index 0000000000..40ac8618de --- /dev/null +++ b/srcpkgs/umoci/patches/which.patch @@ -0,0 +1,23 @@ +From 36ca035cc8cb96b9c0febebcde4d5f4fc82a6022 Mon Sep 17 00:00:00 2001 +From: Cameron Nemo +Date: Sun, 29 Aug 2021 22:20:27 -0700 +Subject: [PATCH] fix(Makefile): avoid usage of which + +which is not available in some build environments +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d76e37b4..3df909c2 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,7 +14,7 @@ + # limitations under the License. + + # Use bash, so that we can do process substitution. +-SHELL := $(shell which bash) ++SHELL := $(shell command -v bash) + + # Go tools. + GO ?= go diff --git a/srcpkgs/umoci/template b/srcpkgs/umoci/template index e9ea9bf87c..8c38ceb685 100644 --- a/srcpkgs/umoci/template +++ b/srcpkgs/umoci/template @@ -1,6 +1,6 @@ # Template file for 'umoci' pkgname=umoci -version=0.4.6 +version=0.4.7 revision=1 build_style=go go_import_path=github.com/opencontainers/umoci @@ -11,7 +11,7 @@ maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://umo.ci" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" -checksum=19ca1234c7991369586488f4ebb7656f566e1e3d19d2518630620eb54061b87c +checksum=c01b36de6fdc513eb65add57bc882d72f94fc3b4b65a8f9ef59826fb754af93e post_install() { make docs