void-packages/srcpkgs/choosenim/patches/cfc83cd106185441604a55ef34968a2a37d6258a.patch
q66 d693641c95 choosenim: update to 0.4.0 + add ppc32
This also fixes build. 0.5.0 update is not possible as nimarchive
is not cross-compiling friendly and doesn't even build natively
because it ignores CFLAGS.

I cherry-picked relevant 0.5.0 changes into patches.
2019-12-17 22:46:13 +01:00

25 lines
884 B
Diff

From cfc83cd106185441604a55ef34968a2a37d6258a Mon Sep 17 00:00:00 2001
From: Dominik Picheta <dominikpicheta@googlemail.com>
Date: Mon, 14 Oct 2019 21:09:23 +0100
Subject: [PATCH] Fixes #142.
Fixes regression in choosenim install script.
---
scripts/choosenim-unix-init.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/choosenim-unix-init.sh b/scripts/choosenim-unix-init.sh
index a60b74b..89912cf 100755
--- scripts/choosenim-unix-init.sh
+++ scripts/choosenim-unix-init.sh
@@ -59,9 +59,8 @@ install() {
fi
# Install Nim from desired channel.
- "$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall -y < /dev/tty
+ "$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall < /dev/tty
else
- # TODO: Use the -y switch when choosenim gets support for it.
"$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall -y
fi