607 Commits

Author SHA1 Message Date
Robert Hensing 89a2a6fa57 haskellPackages.hercules-ci-optparse-applicative: 0.18.1-fork -> 0.19.0.0-fork-0 2025-08-08 23:43:30 +02:00
Axel Karjalainen 1870d82500 Simplify definitions of libcs
- Used `stdenvNoLibc` directly in the package files instead of
  overriding `stdenv` to it in `all-packages.nix`
- Moved applicable libcs to `pkgs/by-name` (note: not newlib because
  it's also accessible via `newlib-nano`)
2025-08-05 23:16:45 +03:00
Sandro 94b8d9972a resholve: fix using Nix API with overlays (#420618) 2025-07-30 16:46:34 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Jason Yundt d2392c7a2b resholve: fix using Nix API with overlays
Before this change, if you used an overlay to override the version of
resholve that Nixpkgs uses, then Nixpkgs would sometimes use the new
version of resholve and sometimes use the previous version of resholve.
Specifically, pkgs.resholve would use the new version of resholve and
pkgs.resholve.writeScriptBin would use the previous version of resholve.

This change makes it so that if an overlay replaces pkgs.resholve, then
pkgs.resholve and pkgs.resholve.writeScriptBin will still use the same
version of resholve.

Fixes #418458.
2025-07-13 06:53:51 -04:00
Sandro 9604d37b0f resholve: 0.10.5 -> 0.10.6 (#419005) 2025-07-06 22:40:50 +02:00
Martin Weinelt ae4a1a485a treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
Travis A. Everett 8a1b029672 resholve: 0.10.5 -> 0.10.6
Also:
- use nixfmt style for examples in README.md
- drop passthru consumer test for ix removed in #397949
2025-06-22 08:58:20 -05:00
OPNA2608 fc85657b10 newlib: Apply patch to fix targeting MIPS 2025-05-14 20:32:39 +02:00
nixpkgs-ci[bot] 73a1ced090 Merge c73deb7619 into haskell-updates 2025-04-17 00:19:30 +00:00
r-vdp d0a1625690 juce: move to by-name 2025-04-16 10:26:52 +02:00
R. Ryantm 9b17c0931a juce: 8.0.6 -> 8.0.7 2025-04-15 14:53:13 +00:00
Winter a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera 65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
nixpkgs-ci[bot] 0ffb4ba7a8 Merge cc50be1bf2 into haskell-updates 2025-04-07 00:20:38 +00:00
Gaetan Lepage bfe27cf81c treewide: use a string for versionCheckProgramArg where possible 2025-04-05 14:45:13 +02:00
sternenseemann 1f00f46d8b Merge commit a2a66180ba into haskell-updates 2025-03-17 12:28:00 +01:00
Sigmanificient 91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
nixpkgs-ci[bot] b089339c6a Merge 5c6bec2e11 into haskell-updates 2025-03-07 00:18:25 +00:00
Arne Keller 14f552556e newlib-nano: Fix build (#375945) 2025-03-06 14:04:29 +01:00
sternenseemann b71bdc9f2a haskellPackages.{ci-info, hasura-resource-pool}: remove
These packages were dependencies of hasura only and aren't uploaded
to Hackage. It seems unlikely that any downstream user depends on
them directly.
2025-02-14 02:01:30 +01:00
sternenseemann 31f1c125eb hasura-graphql-engine, haskellPackages: remove all broken hasura pkgs
These have been broken for a long time and are severly outdated. I'm
taking the lack of maintenance as a lack of interest and dropping
these. It may be better to start from scratch anyways when packaging
a newer version of hasura (they have added 9.10 support, so there's
no reason it couldn't be resurrected in theory).

From experience, Hasura is a huge can of worms and I'm personally not
interested in maintaining it. I've tried to get the ball rolling
again in the past (https://github.com/NixOS/nixpkgs/pull/250035)
which also didn't garner any interest.
2025-02-14 02:01:30 +01:00
Nikolay Korotkiy 7aa159d169 h3: 4.1.0 → 4.2.0 2025-02-08 19:05:50 +04:00
liberodark acbf220e6f juce: 8.0.4 -> 8.0.6 2025-02-03 09:21:51 +01:00
Zhaofeng Li cf69ff8265 newlib-nano: Fix build
The original check, while terse, causes the shell to exit after the
`for` loop if any file is non-existent.
2025-01-22 14:08:24 -07:00
Konstantin Nazarov 3c547e6031 newlib: add installation of libgloss for embedded targets (#367275)
I was trying to get an embedded RISC-V toolchain working, by
following pretty much a documented workflow:

```
pkgsCross = import pkgs.path {
  localSystem = pkgs.stdenv.buildPlatform.system;
  crossSystem = {
    config = "riscv32-none-elf";
    libc = "newlib-nano";
    gcc.arch = "rv32im";
  };
};
```

This is supposed to work for compiling programs that target
"bare-metal". But when I tried to compile my project, GCC complained
that it can't fild `-lgloss`. If you're curious what libgloss is, in
very simple terms it's a glue layer that allows you to provide
implementation for the bare minimum functionality that would get the
rest of the libc working. (such as `_sbrk`, `_open`, `_read` and
friends).

After digging into it for a while, I've figured out that newlib which
is shipped by nixpkgs doesn't contain libgloss as part of the build
resuts. So this isn't just me misconfiguring the search paths.

You may be wondering - why didn't anyone else find this issue? My
current guess is that nobody really uses this combination (newlib-nano
plus a bare-metal deployment). Most people who use the cross
toolchains likely target an operating system which provides syscalls
already and don't implement the stubs themselves.

If you really want to try and reproduce the bug, you need to pass this
as a flag to gcc: `--specs=nano.specs`.

Also, this bug is not really specific to NixOS, but happened in
ArchLinux as well. Here's a relevant bug report:
https://bugs.archlinux.org/task/66548. This is where I've found the
fix. Adding the fix in the way I did seems to fix the problem for
good.

The fix itself doesn't seem to be dangerous because in case libgloss
is absent, it would be skipped and not copied to the build results.

NB: during review it's been also suggested to add libm for the same
reasons, so this is what I did as well.
2025-01-13 23:32:32 +01:00
Nick Cao 3638119056 juce: remove unused argument fetchpatch (#373120) 2025-01-12 10:30:33 -05:00
Ethan Carter Edwards bfac9a0a43 juce: remove unused argument fetchpatch
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-01-12 00:38:05 -05:00
Liam Murphy 52ca863592 newlib: 4.4.0.20231231 -> 4.5.0.20241231 2025-01-01 15:09:25 +00:00
Liam Murphy 20a6e0c6ca newlib: 4.3.0.20230120 -> 4.4.0.20231231
This update allows newlib to compile with GCC 14, which in turn fixes
the cross-compilers which use newlib for their libc (for example,
`pkgsCross.riscv64-embedded.buildPackages.gcc`).
2024-12-24 22:05:58 +00:00
Arne Keller 49291ae619 juce: 7.0.11 → 8.0.4 (#356771) 2024-12-24 07:55:27 +01:00
Samuel Tardieu 30463d9064 juce 8.0.3 → 8.0.4 2024-12-18 21:49:51 +01:00
Samuel Tardieu 390bad7e66 juce: 7.0.11 → 8.0.3
Diff: https://github.com/juce-framework/JUCE/compare/7.0.11...8.0.3
2024-12-15 16:53:55 +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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Samuel Tardieu e307440e58 juce: reformat 2024-11-17 18:21:29 +01:00
Theodore Ni 660022ee30 newlib: enable parallel build (#354520) 2024-11-09 20:29:44 -08:00
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Julian Stecklina e600b8b00b newlib: enable parallel build
... for massively decreasing the build time. On my laptop, this drops
build times from 40s to 10s.
2024-11-08 16:37:37 +01:00
Reno Dakota 52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
R. Ryantm 8fb88e7a67 brev-cli: 0.6.293 -> 0.6.295 2024-10-26 21:17:21 +00:00
Steffen Vogel 9808443bdd rpiboot: migrate to by-name 2024-10-24 20:02:36 +02:00
phanirithvij 19284e4f79 gokrazy: unstable-2023-08-12 -> 0-unstable-2024-09-27
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-10-15 16:02:07 +02:00
Fabián Heredia Montiel ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
h7x4 8f55b011e0 treewide: add meta.changelog (#346488)
* guix: add meta.changelog

* zile: add meta.changelog

* zoom: add meta.changelog

* zotify: add meta.changelog

* zpaqfranz: add meta.changelog

* zunit: add meta.changelog

* zxwing-cpp: add meta.changelog

* zxpy: add meta.changelog

* zydis: add meta.changelog

* zziplib: add meta.changelog

* j: add meta.changelog

* kyua: add meta.changelog

* json2ts: add meta.changelog

* igir: add meta.changelog

* ios-webkit-debug-proxy: add meta.changelog

* gpaste: add meta.changelog

* polkit_gnome: add meta.changelog

* papers: add meta.changelog

* libmsgraph: add meta.changelog

* quadrapassel: add meta.changelog

* gnome-nibbles: add meta.changelog

* decibels: add meta.changelog

* libgedit-amtk: add meta.changelog

* simple-scan: add meta.changelog

* gnome-klotski: add meta.changelog

* gnome-sound-recorder: add meta.changelog

* gnome-remote-desktop: add meta.changelog

* gnome-robots: add meta.changelog

* gnome-shell-extensions: add meta.changelog

* gnome-panel: add meta.changelog

* gnome-session: add meta.changelog

* gnome-keyring: add meta.changelog

* devhelp: add meta.changelog

* libgnome-keyring: add meta.changelog

* ghex: add meta.changelog

* gnome-connections: add meta.changelog

* lightsoff: add meta.changelog

* gnome-flashback: add meta.changelog

* livi: add meta.changelog

* mutter: add meta.changelog

* hitori: add meta.changelog

* gnome-initial-setup: add meta.changelog

* gnome-bluetooth: add meta.changelog

* gnome-shell: add meta.changelog

* gnome-sudoku: add meta.changelog

* ideamaker: add meta.changelog

* i2p: add meta.changelog

* lms: add meta.changelog

* adwaita-icon-theme: add meta.changelog

* gnome-applets: add meta.changelog

* flac123: add meta.changelog

* flaca: add meta.changelog

* flameshot: add meta.changelog

* flaresolverr: add meta.changelog

* a52dec: add meta.changelog

* hexbinhex: add meta.changelog

* dwl: add meta.changelog

* msolve: add meta.changelog

* jcli: add meta.changelog

* nmap: add meta.changelog

* nmapsi4: add meta.changelog

* labctl: add meta.changelog

* _1oom: add meta.changelog

* libipuz: add meta.changelog

* metacity: add meta.changelog

* sushi: add meta.changelog

* rygel: add meta.changelog

* zenity: add meta.changelog

* crosswords: add meta.changelog

* gnome-mahjongg: add meta.changelog

* alacarte: add meta.changelog

* loupe: add meta.changelog

* cheese: add meta.changelog

* atomix: add meta.changelog

* swell-foop: add meta.changelog

* alfis: add meta.changelog

* aperture: add meta.changelog

* atomic-swap: add meta.changelog

* besu: add meta.changelog

* bisq: add meta.changelog

* bitcoin-abc: add meta.changelog

* bitcoin-knots: add meta.changelog

* bitcd: add meta.changelog

* btcdeb: add meta.changelog

* btcpayserver: add meta.changelog

* 86box: add meta.changelog

* darling: add meta.changelog

* dosbox: add meta.changelog

* firebird-emu: add meta.changelog

* maiko: add meta.changelog

* accerciser: add meta.changelog

* adwaita-icon-theme-legacy: add meta.changelog

* dconf-editor: add meta.changelog

* eog: add meta.changelog

* evolution-data-server: add meta.changelog

* file-roller: add meta.changelog

* four-in-a-row: add meta.changelog

* gdm: add meta.changelog

* geary: add meta.changelog

* gitg: add meta.changelog

* gnome2048: add meta.changelog

* gnome-backgrounds: add meta.changelog

* gnome-text-editor: add meta.changelog

* gnome-tour: add meta.changelog

* gnome-user-share: add meta.changelog

* gxml: add meta.changelog

* tali: add meta.changelog

* totem: add meta.changelog

* mobile-broadband-provider-info: add meta.changelog

* avr: add meta.changelog

* brev-cli: add meta.changelog

* juce: add meta.changelog

* loc: add meta.changelog

* resholve: add meta.changelog

* rpiboot: add meta.changelog

* gerbera: add meta.changelog

* kdocker: add meta.changelog

* pmenu: add meta.changelog

* advancecomp: add meta.changelog

* adriconf: add meta.changelog

* interception-tools: add meta.changelog

* nabi: add meta.changelog

* gorilla-cli: add meta.changelog

* heygpt: add meta.changelog

* 6tunnel: add meta.changelog

* aria2: add meta.changelog

* logmein-hamachi: add meta.changelog

* maphosts: add meta.changelog

* qcal: add meta.changelog

* adreaper: add meta.changelog

* aflplusplus: add meta.changelog

* aide: add meta.changelog

* cameradar: add meta.changelog

* wpscan: add meta.changelog

* aha: add meta.changelog

* xcat: add meta.changelog
2024-10-04 22:35:12 +03:00
Weijia Wang 7316b887df brev-cli: 0.6.287 -> 0.6.293 (#344102) 2024-09-27 02:35:14 +02:00
Yt f366dad70b datafusion-cli: 33.0.0 -> 42.0.0 (#344658) 2024-09-26 12:21:37 -04:00
ocfox 893117bbd5 datafusion-cli: 33.0.0 -> 42.0.0
changelog readed by ocfox <i@ocfox.me>
2024-09-26 21:38:46 +08: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
R. Ryantm 2d3c10b89e brev-cli: 0.6.287 -> 0.6.293 2024-09-24 02:30:18 +00:00
John Ericson f43cc75868 Clean up cross bootstrapping, take 2 (#321525) 2024-09-06 14:56:54 -04:00