~ajhalili2006/ppa

e03c5bbe5c7837bef105085a99d14c76a43cd2d1 — Andrei Jiroh Halili 4 months ago 43c8566
fix(alpine/testing/hadolint): :green_heart: add minimize-conflict-set flag to update and freeze commands

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
1 files changed, 2 insertions(+), 2 deletions(-)

M alpine/testing/hadolint/APKBUILD
M alpine/testing/hadolint/APKBUILD => alpine/testing/hadolint/APKBUILD +2 -2
@@ 18,10 18,10 @@ cabal_update() {
	msg "Freezing $pkgname dependencies"

	# Resolve deps and generate fresh cabal.config with version constraints.
	HOME="$_cabal_home" cabal update
	HOME="$_cabal_home" cabal update --minimize-conflict-set
	(
		cd "$builddir"
		HOME="$_cabal_home" cabal freeze --shadow-installed-packages
		HOME="$_cabal_home" cabal freeze --shadow-installed-packages --minimize-conflict-set

		# Add version tag at the first line.
		sed -i "1i--$pkgver" "cabal.config"