Skip to content

Commit

Permalink
try official nim build
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Oct 6, 2024
1 parent 092206b commit d6db301
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion anda/langs/nim/choosenim/choosenim.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,22 @@ Summary: Easily install and manage multiple versions of the Nim programming lan
License: BSD-3-Clause
URL: https://github.com/nim-lang/choosenim
Source0: %url/archive/refs/tags/v%version.tar.gz
Source1: https://nim-lang.org/download/nim-%nimver-linux_x64.tar.xz
Packager: madonuko <[email protected]>
BuildRequires: nim nim-tools git-core anda-srpm-macros
BuildRequires: git-core anda-srpm-macros
#BuildRequires: nim nim-tools

%description
choosenim installs the Nim programming language from official downloads and
sources, enabling you to easily switch between stable and development compilers.

%prep
%autosetup
tar -xvJf %SOURCE1

%build
NIMPATH=`pwd`/nim-%nimver/bin
PATH=$PATH:$NIMPATH
%nim_c src/choosenim

%install
Expand Down

0 comments on commit d6db301

Please sign in to comment.