Commit Graph

27 Commits

Author SHA1 Message Date
Vincent Laporte
373d2673d8 ocamlPackages.labltk: add version 8.06.16 for OCaml 5.4 2026-03-18 20:28:21 +01:00
Vincent Laporte
c74ff83ace ocamlPackages.labltk: clean & fix 2026-01-12 15:17:51 +01:00
jopejoe1
5a83fc7432 ocamlPackages.labltk: mark as broken on unsupported versions 2025-10-18 22:23:06 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Vincent Laporte
a8bd62adaf ocamlPackages.labltk: add version 8.06.15 for OCaml 5.3 2025-01-28 13:18:07 +01:00
Vincent Laporte
d036ecdd71 ocamlPackages: fixes after GCC update to version 14 2025-01-11 11:17:14 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Vincent Laporte
2becde3c19 ocamlPackages.labltk: add version 8.06.14 for OCaml 5.2 2024-08-26 06:10:47 +02:00
Ulrik Strid
c53a63adf1 ocamlPackages treewide: strictDeps all packages 2023-02-03 08:59:34 +01:00
Et7f3
0a29695c1f ocamlPackages.labltk: fix build on darwin 2023-01-05 04:44:25 +01:00
Vincent Laporte
6ee0a023cd ocamlPackages.labltk: add version 8.06.13 for OCaml 5.0 2022-11-21 06:59:04 +01:00
Vincent Laporte
a882fd2c36 ocamlPackages.labltk: add version 8.06.12 for OCaml 4.14 2022-05-15 17:06:27 +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
Vincent Laporte
de68426db8 ocamlPackages.labltk: add version 8.06.11 for OCaml 4.13 2021-09-25 14:51:24 +02:00
Guillaume Girol
a17fc03375 pkgsStatic.ocaml-ng: migrate static adapter to derivations themselves 2021-08-19 09:32:03 +02:00
Vincent Laporte
1f1a77bdb7 ocamlPackages.labltk: fix ocamlbrowser by wrapping
Also remove legacy versions
2021-04-21 13:56:54 +02:00
sternenseemann
544b9d298f ocamlPackages.labltk: add version 8.06.10 for OCaml 4.12 2021-03-18 13:22:47 +01: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
Vincent Laporte
d4f6c94d34 ocamlPackages.labltk: init at 8.06.9 for OCaml 4.11 2020-09-06 19:09:37 +02:00
Vincent Laporte
962f93c46b ocamlPackages.labltk: init at 8.06.8 for OCaml 4.10 2020-05-18 18:20:24 +02:00
Vincent Laporte
a9435c8db8 ocamlPackages.labltk: init at 8.06.7 for OCaml ≥ 4.08 2019-10-12 09:37:34 +02:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Vincent Laporte
b5f580fa2e ocamlPackages.labltk: fix evaluation with OCaml < 4.04 2018-12-17 17:46:46 +00:00
Vincent Laporte
d6a60a7e91 ocamlPackages.labltk: init at 8.06 (#43963)
LablTk is an OCaml interface to the Tcl/Tk GUI framework.

homepage: http://labltk.forge.ocamlcore.org/
2018-07-29 08:35:35 +00:00