Felix Buehler
6672dde558
treewide: use optionalAttrs instead of 'else {}'
2023-06-25 11:01:34 -03:00
Artturin
f9fdf2d402
treewide: move NIX_CFLAGS_COMPILE to the env attrset
...
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vincent Laporte
e9831074ef
ocamlPackages_4_06.num: fix after #110571
2022-08-09 15:09:20 +02:00
Ulrik Strid
a13cdfe520
ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
...
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild.
This makes some closures significantly smaller and makes cross compilation easier
2022-02-24 14:39:27 +01:00
Felix Buehler
12f343da4c
treewide: rename name to pname&version
2022-02-06 23:56:36 +01:00
zowoq
8488ebab05
ocamlPackages.*: use spaces for indentation
2021-01-21 10:30:13 +10:00
sternenseemann
4e42cac49d
ocamlPackages: stdenv.lib → lib
...
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.
Reference #108938 .
2021-01-12 16:33:18 +01:00
Alexander Bantyev
81384e0f0c
ocaml: num: add ability to link statically
2019-11-26 18:03:55 +03:00
Alexander Bantyev
07b838f13b
ocaml: num: Allow to disable dynamic linking
2019-11-26 18:03:55 +03:00
Yorick van Pelt
4550405ac9
ocaml-modules: replace buildInputs with nativeBuildInputs where appropriate
...
The default has been to use buildInputs for build dependencies.
This doesn't work when cross-compiling.
2019-11-11 11:10:14 +03:00
Vincent Laporte
0ce1067b18
ocamlPackages.num: init at 1.1
2017-11-03 23:45:18 +00:00