Emery Hemingway
380a34d03c
nim2: init 2.0.0
2023-08-21 07:32:46 +01:00
Emery Hemingway
a3cfb6589c
compilers/nim: do not modify hardening flags
...
Hardening can set -O𝑛 flags that contradict $CC flags added by
the Nim compiler but this should be resolved later in the wrapper
script.
Fix #243759
2023-08-02 11:20:26 +01:00
Marcus Ramberg
755b664031
nim: 1.6.12 -> 1.6.14
2023-07-01 21:31:28 +02:00
Emery Hemingway
eafc69b131
nim: extra module mangling to prevent runtime dependence
...
Fix #207795
2023-06-28 09:45:16 +01:00
Emery Hemingway
d925734d3b
Nim: add meta.mainProgram
2023-05-15 17:28:15 +01:00
Benjamin Lee
2ba48cc8de
nim: propagate Security framework to all nim packages on darwin
...
Many nim packages regressed on darwin after 31254120db
, which upgrade nim to 1.6.12. The cause of the breakage is that the nim standard library was changed to link against the Security framework when using the system rng on darwin. Notably not *all* nim packages were broken by this, since packages that don't use this part of the standard library don't need the framework to build.
This commit adds the Security framework to the depsTargetTargetPropagated for the compiler wrapper, since the standard library isn't fully functional without it.
2023-04-14 16:04:31 +00:00
Benjamin Lee
6cf5d549fe
nimble-unwrapped: Add missing Security framework buildInput
2023-04-03 18:50:57 +00:00
toonn
855b6e2ad0
nim-unwrapped: Add missing Security framework buildInput
2023-03-27 13:28:46 +02:00
Emery Hemingway
31254120db
nim: 1.6.10 -> 1.6.12
2023-03-19 18:35:05 -05:00
Domen Kožar
fa0775101f
nim: make gdb optional to fix aarch64-darwin build
2023-01-30 11:39:00 +00:00
Weijia Wang
43cc2746c6
nim: fix build on aarch64-darwin
2022-12-02 22:23:01 -06:00
Emery Hemingway
88c9a92624
Nim: resurrect bootstrap compiler
...
Building the bootstrap and the unwrapped compiler in seperate
derivations is still worthwhile because if we patch the compiler
only need to rebuild the second of the two.
2022-11-28 12:28:25 -06:00
Stephen Hassard
6c492a6936
nim: 1.6.8 -> 1.6.10
2022-11-28 12:28:25 -06:00
Weijia Wang
afd4752a38
nim: fix build on aarch64-darwin
2022-10-23 20:43:41 -05:00
Emery Hemingway
1471e0c739
nim: unescape "\ " before splitting NIX_LDFLAGS
...
Ref #190126
2022-10-08 11:28:39 -05:00
Emery Hemingway
c1184a3f8c
nim: 1.6.6 -> 1.6.8
...
Other changes:
- use bootstrap sources bundled with release
- copy tools to $out
- build dochack.js
2022-10-08 11:28:39 -05:00
bandthedoge
1c6676511e
nim-unwrapped: fix library path
2022-09-01 14:01:57 -05:00
mat ess
4fc665856d
nim: 1.6.4 -> 1.6.6
2022-05-09 13:34:07 -05:00
Malo Bourgon
d8da6a153b
nimble-unwrapped: add meta
2022-05-05 17:27:29 -07:00
Felix Buehler
7c71e8438c
nim: switch to fetchFromGitHub
2022-03-16 00:45:56 +01:00
Stephen Hassard
67574bd994
nim: 1.6.2 -> 1.6.4
2022-02-22 09:14:28 -06:00
Frederik Rietdijk
c8aed5f960
nim: 1.6.0 -> 1.6.2
2021-12-18 15:06:19 +00:00
Emery Hemingway
30be6c22c5
nim: 1.4.8 -> 1.6.0
2021-10-19 13:07:57 +02:00
Emery Hemingway
3cfbadec99
nim: patch compiler to emit native file/line info format
2021-10-19 12:50:30 +02:00
Andreas Rammhold
6d0a4f9b8f
nim: use newer bootstrap repository for aarch64-darwin support
...
The old "csources" repo has been archived a while ago and a newer
csources_v1 repo has been published. The main advantage is that we now
have support for newer platorms (such as Apple M1's) and newer nim
versions in the bootstrap.
The new repository doesn't contain release tags thus I pinned it to the
latest revision that has been published.
2021-10-18 16:19:48 +02:00
Guillaume Girol
4bc83aaffa
Merge pull request #136489 from ehmry/nimPackages
...
nimpackages / buildNimPackage
2021-09-22 18:35:38 +00:00
Ryan Burns
b8779dbffe
nim: fix power arch predicates
...
isPowerPC is only true on 32 bit machines;
to check the family we should use isPower here
Otherwise, e.g. `pkgsCross.powernv.buildPackages.nim` fails to eval with
`error: evaluation aborted with the following error message: 'no Nim CPU support known for powerpc64le-unknown-linux-gnu'`
2021-09-22 10:30:09 +02:00
Emery Hemingway
45398d7b54
Initial nimPackages utilities
...
Add a nimPackages attrset with "buildNimPackage" and "fetchNimble".
2021-09-05 11:20:00 +02:00
Emery Hemingway
84a4536e58
nim: 1.4.6 -> 1.4.8
...
https://nim-lang.org/blog/2021/05/25/version-148-released.html
Set a default $CC and $CXX in the Nim wrapper script, this makes
the wrapper usuable outside of build environments.
2021-06-15 10:55:34 +02:00
Emery Hemingway
c576998594
nim: 1.4.4 -> 1.4.6
2021-05-02 10:52:26 +02:00
Emery Hemingway
56592ea293
nim: cross-compilation fixes
...
* Import with callPackages
* Use buildPackages for building a cross-compiler
* Patch-out potential conflicts in nim.cfg
* Generate a configuration with toolchain detection
* Build with strictDeps enabled
2021-03-26 11:36:38 +01:00
Mario Rodas
6ca5b8005f
nim: 1.4.2 -> 1.4.4
2021-02-27 11:27:24 +01:00
Kamil Chmielewski
bc9c9cd6da
nim: expose testament test runner
...
https://nim-lang.org/docs/testament.html
2020-12-10 14:49:01 +01:00
Kamil Chmielewski
ba70e46edd
nim: 1.4.0 -> 1.4.2
2020-12-08 00:45:34 +01:00
Emery Hemingway
bb7b1b59c8
nim: include nimble utility with wrapped compiler
2020-11-26 20:06:20 +01:00
Emery Hemingway
138a90ebc3
nim: 1.2.6 -> 1.4.0
...
Build Nim with a second fixed-input hash for 1.4.0.
The Nimble utility is no longer bundled with nim-unwrapped.
2020-11-26 20:06:20 +01:00
Emery Hemingway
bce139db2b
Revert "nim: 1.2.6 -> 1.4.0"
...
Source tarball has changed.
This reverts commit bb99a0d9a8
.
2020-10-17 14:58:58 +02:00
Emery Hemingway
bb99a0d9a8
nim: 1.2.6 -> 1.4.0
2020-10-16 16:07:50 +02:00
Emery Hemingway
5885021135
nim: remove stdlib indirection in wrapper
...
Fix #97601
2020-09-11 14:21:32 +02:00
Emery Hemingway
dc09e3edfc
nim: wrap compiler for cross-compilation support
2020-09-07 16:16:55 +02:00
Emery Hemingway
06ac3c1d2a
nim: patch to fix dynamic library loading
2020-09-07 16:16:55 +02:00
R. RyanTM
febbcb62ce
nim: 1.2.4 -> 1.2.6
2020-08-07 12:37:05 +02:00
Emery Hemingway
00c6fa607c
nim: 1.2.0 -> 1.2.4
2020-07-01 13:37:47 +05:30
Daiderd Jordan
7b3a2963d1
treewide: replace base64 encoded hashes
2020-06-03 18:35:19 +02:00
zimbatm
3420bd63b9
nim: 1.0.6 -> 1.2.0
2020-04-04 01:15:27 +05:30
Emery Hemingway
b4fd657c25
nim: 1.0.4 -> 1.0.6
2020-01-30 10:05:35 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string
2019-12-31 00:16:46 +01:00
Emery Hemingway
e54d68e6d0
nim: 1.0.2 -> 1.0.4
2019-11-30 15:26:11 +01:00
Emery Hemingway
523b9f792f
nim: disable Nim compiler check
...
Too many tests need to be disabled and too many additional inputs
are required.
2019-11-02 15:12:40 +01:00
R. RyanTM
e37aa87642
nim: 1.0.0 -> 1.0.2
2019-11-02 15:12:40 +01:00