Commit Graph

65 Commits

Author SHA1 Message Date
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
R. Ryantm
603e07da41 minizincide: 2.8.6 -> 2.8.7 2024-10-30 20:33:55 +00:00
OTABI Tomoya
6466e0d69c
minizincide: 2.8.5 -> 2.8.6 (#344673) 2024-10-06 17:17:35 +09:00
R. Ryantm
80376f5af5 minizinc: 2.8.6 -> 2.8.7 2024-10-05 05:32:29 +00:00
R. Ryantm
c846f1d01a minizincide: 2.8.5 -> 2.8.6 2024-09-26 14:38:17 +00:00
R. Ryantm
97800395eb minizinc: 2.8.5 -> 2.8.6 2024-09-26 13:23:54 +00: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
bad4c65e90 minizincide: 2.8.4 -> 2.8.5 2024-06-17 17:26:33 +00:00
Peder Bergebakken Sundt
bb0ddad096
Merge pull request #316946 from r-ryantm/auto-update/minizinc
minizinc: 2.8.4 -> 2.8.5
2024-06-10 15:46:51 +02: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
R. Ryantm
a07740ff15 minizinc: 2.8.4 -> 2.8.5 2024-06-03 15:20:56 +00:00
R. Ryantm
e1447de226 minizincide: 2.8.3 -> 2.8.4 2024-05-21 08:27:14 +00:00
R. Ryantm
c618e3778c minizinc: 2.8.3 -> 2.8.4 2024-05-10 12:34:32 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
5760460e24 minizincide: 2.8.2 -> 2.8.3 2024-03-09 16:02:31 +00:00
Weijia Wang
7c9786d5c6
Merge pull request #285481 from r-ryantm/auto-update/minizinc
minizinc: 2.8.2 -> 2.8.3
2024-03-07 21:58:07 +01:00
R. Ryantm
2cb5685458 minizinc: 2.8.2 -> 2.8.3 2024-02-01 07:27:48 +00:00
Jip J. Dekker
b2c07d4a34 minizincide: 2.5.5 -> 2.8.2 2024-01-31 11:17:51 +11:00
R. Ryantm
49b2c113cc minizinc: 2.8.0 -> 2.8.2 2023-12-16 23:03:51 +00:00
R. Ryantm
f27994f87a minizinc: 2.7.6 -> 2.8.0 2023-11-18 05:26:33 +00:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
R. Ryantm
b77e33c4e0 minizinc: 2.7.5 -> 2.7.6 2023-06-24 15:58:30 +00:00
R. Ryantm
f55ff4fc60 minizinc: 2.7.4 -> 2.7.5 2023-06-12 04:44:30 +00:00
Sandro Jäckel
000000c2cf
minizinc: fix build inputs, format 2023-06-01 21:12:25 +02:00
Alexandru Scvortov
44a331ac33 minizinc: enable gecode and cbc solvers by default
Other changes:
- switch derivation to finalAttrs pattern
2023-06-01 14:07:14 +01:00
R. Ryantm
022973cdf1 minizinc: 2.7.3 -> 2.7.4 2023-05-12 11:08:49 +00:00
R. Ryantm
7002437a4c minizinc: 2.7.2 -> 2.7.3 2023-05-04 10:26:12 +00:00
R. Ryantm
acb2c6ac81 minizinc: 2.7.1 -> 2.7.2 2023-04-18 20:06:35 +00:00
R. Ryantm
471ca58383 minizinc: 2.7.0 -> 2.7.1 2023-04-04 05:29:06 +00:00
R. Ryantm
c8a52f451c minizinc: 2.6.4 -> 2.7.0 2023-02-24 05:06:31 +00:00
R. Ryantm
cbaf729704 minizinc: 2.6.2 -> 2.6.4 2022-08-23 22:25:47 +02:00
R. Ryantm
cc02c4aabf minizinc: 2.6.1 -> 2.6.2 2022-03-23 21:44:49 +00:00
R. Ryantm
4ea733e0c3 minizinc: 2.6.0 -> 2.6.1 2022-03-04 12:03:41 +00:00
R. Ryantm
1c979d946b minizinc: 2.5.5 -> 2.6.0 2022-02-25 11:44:22 -08:00
R. RyanTM
7fdb25a24b
minizincide: 2.5.3 -> 2.5.5
(#149848)
2022-01-01 22:54:39 +01:00
Ben Siraphob
4ce8c34049 treewide: remove unnecessary enableParallelBuilding when using qmake 2021-07-20 10:32:58 +07:00
Felix Buehler
87316d778b various: cleanup of "inherit version;" 2021-07-18 00:19:24 +02:00
R. RyanTM
971b497a47 minizinc: 2.5.4 -> 2.5.5 2021-03-22 12:14:15 +00:00
R. RyanTM
e6d2e360e9 minizinc: 2.5.3 -> 2.5.4 2021-03-17 15:22:41 +00:00
github-actions[bot]
7d94bb26bb
Merge master into staging-next 2021-02-10 18:16:36 +00:00
Daniel Albert
9da3fd6a09 minizincide: 2.4.3 -> 2.5.3 2021-02-09 15:37:12 +01:00
Thomas Tuegel
5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
Ben Siraphob
db74029e3e treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Robert Scott
9f65c524bb minizinc: fix build against bison 3.7
fixed in upstream development branch

enable for darwin
2020-09-29 05:47:46 -07:00
Daniël de Kok
a81e873f4e minizinc: 2.2.3 -> 2.4.3, fix build
- Update minizinc to 2.4.3.
- Fix build with newer Bison versions.
2020-08-09 10:14:57 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
0dc0eb5e3c minizincide: 2.4.2 -> 2.4.3 2020-04-06 06:07:50 +00:00