Commit Graph

26 Commits

Author SHA1 Message Date
Wolfgang Walther
546ece569b
libpq: init at 17.2
Resolves #61580
2025-01-19 12:49:21 +01:00
github-actions[bot]
915adfe15e
Merge staging-next into staging 2024-12-22 00:16:10 +00:00
sternenseemann
ebb16d0fe0
gnatPackages: AdaCore 2025 updates (#352856) 2024-12-21 21:24:19 +01:00
Yueh-Shun Li
6f8448a10c gpr-project-darwin-rpath-hook.sh: append *Phases with appendToVar 2024-12-17 01:46:04 +08: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
sternenseemann
3fd273a58c gnatPackages.gnatcoll-*(db): 24.0.0 -> 25.0.0 2024-11-30 22:41:37 +01:00
sternenseemann
b2020771fc gnatPackages.gnatcoll-cpp: init at 25.0.0
gnatcoll_cpp adds bindings to C++ strings:
f24b27680a
2024-11-30 22:41:37 +01:00
sternenseemann
0ccec7f055 gnatPackages.gpr2: 24.0.0 -> 25.0.0 2024-11-30 22:41:37 +01:00
sternenseemann
8bc7bcca4d gnatPackages.gnatcoll-*(bindings): 24.0.0 -> 25.0.0 2024-11-30 22:41:36 +01:00
sternenseemann
b5db2a401a gnatPackages.gnatcoll-core: 24.0.0 -> 25.0.0
gnatcoll-core now ships up to four gpr files:

- gnatcoll (for backwards compat)
- gnatcoll_minimal
- gnatcoll_core
- gnatcoll_projects

Unfortunately, you can't freely choose which to build, so this package
hasn't been split up into two to three packages.
2024-11-30 22:41:31 +01:00
sternenseemann
967325133f gnatPackages.gprbuild: 24.0.0 -> 25.0.0 2024-11-30 19:46:28 +01:00
R. Ryantm
a81f13db8d gnatPackages.xmlada: 24.0.0 -> 25.0.0 2024-11-30 19:46:27 +01:00
sternenseemann
92dd419120 gnatPackages.gnatprove: typo fix 2024-10-25 23:03:58 +02:00
sternenseemann
5316b98e2f gnatPackages.gnatprove: run pre/post hooks 2024-10-25 23:03:58 +02:00
Thomas Heijligen
6af36c5003 gnatPackages.gnatprove: Add fsf-14 version
- gpr2 is required as buildInput, but in a special version
- fsf-14 drops SPARKlib from the tree, but the Makefile still expect it, patch it out

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-10-25 23:03:58 +02:00
Thomas Heijligen
066b51bf34 gnatPackages.gpr2: init at 24.0.0
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-10-25 23:03:58 +02:00
Thomas Heijligen
1c172a98ea gnatPackages.gnatprove: Regroup buildInputs
Based on the why3 package.
2024-10-25 23:03:58 +02: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
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
aleksana
3d8dab8761 treewide: sha256 -> hash attribute for fetchgit (manually) 2024-07-14 19:10:09 +08:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
Weijia Wang
aad2a8af94 gprbuild: add comment on headerpad_max_install_names 2024-04-06 18:35:59 +02:00
Weijia Wang
0e00487628 gnat13Packages.gnatcoll-core: fix dylib names 2024-04-04 09:18:36 +02:00
sternenseemann
8c5a4cfa43 gprbuild: prevent cross compiled gprbuild-boot being pulled in
Building a cross-compiled gprbuild-boot would obviously not succeed.
This change is kind of academic since we don't really have a working Ada
cross-compiler in nixpkgs, but helps verifying changes to the
gnatPackages infrastructure.
2024-02-25 18:19:50 +01:00
Thomas Heijligen
f2a142727c gnatPackages: Add scope for all ada packages
Ada depencencies musst be build with the same gnat version as the
project. Use a namespace as preperation to build with different gnat
versions.

gprbuild and gnatprove are still globaly visable.
2024-02-25 18:19:50 +01:00