Commit Graph

209 Commits

Author SHA1 Message Date
Sergei Trofimovich
2616bed934 diffoscope: 282 -> 283
Changes: https://diffoscope.org/news/diffoscope-283-released/
2024-11-08 22:38:00 +00:00
Sergei Trofimovich
b7c125feac diffoscope: 279 -> 282
Changes:
- https://diffoscope.org/news/diffoscope-280-released/
- https://diffoscope.org/news/diffoscope-281-released/
- https://diffoscope.org/news/diffoscope-282-released/
2024-10-26 16:06:53 +01:00
Sergei Trofimovich
09219cd761 diffoscope: 278 -> 279
Changes: https://diffoscope.org/news/diffoscope-279-released/
2024-10-08 06:30:32 +01:00
Sergei Trofimovich
5e169ca869 diffoscope: 277 -> 278
Changes: https://diffoscope.org/news/diffoscope-278-released/
2024-09-28 15:04:29 +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
Sergei Trofimovich
28c614269d diffoscope: 276 -> 277
Changes: https://diffoscope.org/news/diffoscope-277-released/
2024-08-31 09:08:25 +01:00
Sergei Trofimovich
0a1ac77868 diffoscope: 275 -> 276
Changes: https://diffoscope.org/news/diffoscope-276-released/
2024-08-18 18:50:28 +01:00
Sergei Trofimovich
e33d9a43b5 diffoscope: 274 -> 275
Changes: https://diffoscope.org/news/diffoscope-275-released/
2024-08-16 12:23:59 +01:00
Sergei Trofimovich
c2555dd9aa diffoscope: 273 -> 274
Changes: https://diffoscope.org/news/diffoscope-274-released/
2024-08-09 22:08:09 +01:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Bjørn Forsman
b94f1f7a5e Revert "diffoscope: disable another broken test"
This reverts commit 9eae9c2035.

No longer needed since commit adbceb5fab
("diffoscope: 271 -> 273").

Manually resolved conflict due to commit
5cf0c470cb ("diffoscope: apply nixfmt").
2024-08-01 11:12:50 +02:00
Sergei Trofimovich
5cf0c470cb diffoscope: apply nixfmt 2024-07-31 09:08:15 +01:00
Sergei Trofimovich
adbceb5fab diffoscope: 271 -> 273
Changes:
- https://diffoscope.org/news/diffoscope-272-released/
- https://diffoscope.org/news/diffoscope-273-released/
2024-07-31 09:07:57 +01:00
Doron Behar
9eae9c2035 diffoscope: disable another broken test 2024-07-22 15:44:59 +03:00
Sandro Jäckel
dee143a248
diffoscope: comment why we don't filter on meta.broken 2024-07-04 11:46:45 +02:00
Sergei Trofimovich
23a45b4466 diffoscope: 269 -> 271
Changes:
- https://diffoscope.org/news/diffoscope-270-released/
- https://diffoscope.org/news/diffoscope-271-released/
2024-06-07 21:06:32 +01:00
Sergei Trofimovich
553c41f9f9 diffoscope: 267 -> 269
Changes:
- https://diffoscope.org/news/diffoscope-268-released/
- https://diffoscope.org/news/diffoscope-269-released/
2024-06-01 21:56:33 +01:00
Sergei Trofimovich
59c540c760 diffoscope: 266 -> 267
Changes: https://diffoscope.org/news/diffoscope-267-released/
2024-05-17 16:03:29 +01:00
Sergei Trofimovich
d2ed14aa4f diffoscope: 265 -> 266
Changes: https://diffoscope.org/news/diffoscope-266-released/
2024-05-13 17:41:55 +02:00
éclairevoyant
65728a10aa
diffoscope: reenable cbfs tests
fixed upstream in https://review.coreboot.org/c/coreboot/+/78239
2024-04-29 22:51:39 -04:00
Sandro Jäckel
02e439f973
diffoscope: disable radare2
since r2pipe got added, the tests for it are executed, which fail
2024-04-28 01:37:15 +02:00
Sandro Jäckel
675ece9738
diffoscope: downgrade tlsh 2024-04-28 01:37:06 +02:00
Sandro
43129fa776
Merge pull request #302569 from SuperSandro2000/diffoscope-pypdf 2024-04-24 15:22:01 +02:00
Sergei Trofimovich
ad80a632a4 diffoscope: 263 -> 265
Changes:
- https://diffoscope.org/news/diffoscope-264-released/
- https://diffoscope.org/news/diffoscope-265-released/
2024-04-19 22:01:33 +01:00
Sandro Jäckel
9e2322eb10
diffoscope: update doc2txt comment 2024-04-08 23:31:16 +02:00
Sandro Jäckel
f4ed855c24
diffoscope: add r2pipe 2024-04-08 23:31:07 +02:00
Pol Dellaiera
33664e1480
Merge pull request #300021 from trofi/diffoscope-update
diffoscope: 261 -> 263
2024-04-08 17:52:52 +02:00
Sandro Jäckel
3a525f84f8
diffoscope: fix pypdf support 2024-04-08 15:06:20 +02:00
Andrew Marshall
6e1c1a9c28 diffoscope: fix build after disablement of OpenSSH DSA keys
Caused by 6ee4b8c8bf. See also
https://hydra.nixos.org/build/255480862.
2024-04-07 09:42:06 -04:00
Sergei Trofimovich
49f361d3c2 diffoscope: 261 -> 263
Changes:
- https://diffoscope.org/news/diffoscope-262-released/
- https://diffoscope.org/news/diffoscope-263-released/
2024-04-05 21:43:05 +01:00
Sergei Trofimovich
909a367b74 diffoscope: 260 -> 261
Changes: https://diffoscope.org/news/diffoscope-261-released/
2024-03-22 23:18:16 +00:00
R. Ryantm
52afd5d25f diffoscope: 259 -> 260 2024-03-09 01:52:23 +00:00
Sergei Trofimovich
e4387fdefa diffoscope: 257 -> 259
Changes:
- https://diffoscope.org/news/diffoscope-258-released/
- https://diffoscope.org/news/diffoscope-259-released/
2024-03-01 12:45:37 +00:00
Sergei Trofimovich
9b4795a6ab diffoscope: 254 -> 257
Changes:
- https://diffoscope.org/news/diffoscope-255-released/
- https://diffoscope.org/news/diffoscope-256-released/
- https://diffoscope.org/news/diffoscope-257-released/
2024-02-12 20:57:02 +00:00
Sergei Trofimovich
9c13e10574 diffoscope: 253 -> 254
Changes: https://diffoscope.org/news/diffoscope-254-released/
2024-01-21 09:08:27 +00:00
Jade Lovelace
32d613548e diffoscope: disable broken tests on darwin 2024-01-17 13:38:48 -08:00
Jade Lovelace
5d238d0d63 diffoscope: fix on aarch64-darwin
This was comparing stdenv.hostPlatform (an attr set) to a string. This
comparison always returned not-equal, which resulted in trying to
evaluate the broken gnumeric on macOS. This change fixes that to compare
the "system" string as was intended originally.
2024-01-17 12:03:36 -08:00
Raito Bezarius
4e9e090585 diffoscope: organize better missing tools and explain why docx2txt cannot be added
docx2txt is *IN* nixpkgs but cannot be used.

lipo, otool are theoretically available in darling… but I doubt they would work.
2023-12-09 00:02:05 +01:00
Raito Bezarius
61da111d6f diffoscope: 252 -> 253
https://diffoscope.org/news/diffoscope-253-released/
2023-12-09 00:01:31 +01:00
Raito Bezarius
c1cd33667c diffoscope: add acl in the minimal package
`acl` is a pretty ubiquitious package on Linux and provides `getfacl`.
2023-12-09 00:01:00 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
8bed411e6a diffoscope: 251 -> 252 2023-11-17 11:14:41 +00:00
Sergei Trofimovich
0b73998deb diffoscope: 250 -> 251
Changes: https://diffoscope.org/news/diffoscope-251-released/
2023-11-10 10:31:51 +00:00
Raito Bezarius
d82ca98b7c diffoscope: drop unused test_fit patch
We needed that patch before and not anymore, missed drop of the last bump.
2023-10-25 15:59:28 +02:00
Ryan Lahfa
6e0068b034
Merge pull request #257426 from RaitoBezarius/diffoscope 2023-10-25 14:58:02 +01:00
Martin Schwaighofer
7ef43e566c diffoscope: fix broken build due to cbfs tests for now
The diffoscope build broke due to failing tests related to cbfs when
coreboot-utils was updated from 4.20 to 4.21 with commit
be6408699e.
Thanks to aij on github for reporting this issue and bisecting to find
the change in nixpkgs that introduced the issue.
The tests disabled in this commit should be re-enabled when diffoscope or
coreboot fix the underlying issue.

See: https://github.com/NixOS/nixpkgs/issues/256896
2023-09-27 13:23:41 +02:00
Raito Bezarius
bc5612c202 diffoscope: 248 -> 250
https://diffoscope.org/news/diffoscope-249-released/
https://diffoscope.org/news/diffoscope-250-released/
2023-09-26 13:01:34 +02:00
Andrew Marshall
c7802e3062 diffoscope: Fix test failure
See https://github.com/NixOS/nixpkgs/issues/252045

Patch not yet upstreamed as a I do not have salsa.debian.org access.
2023-08-28 19:11:10 -04:00
R. Ryantm
b5a2c6b5a7 diffoscope: 247 -> 248 2023-08-26 00:10:07 +00:00
R. Ryantm
6ddcf930d3 diffoscope: 246 -> 247 2023-08-10 21:30:17 +00:00