void-packages/srcpkgs/choosenim/patches/cfc83cd106185441604a55ef349...

26 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