Commit Graph

19 Commits

Author SHA1 Message Date
Moritz Sanft
2a3b139da1 erofs-utils: 1.8.1 -> 1.8.2 2024-10-16 10:58:05 +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
Jared Baur
71b77717c9
Reapply "erofs-utils: nixfmt"
This reverts commit d45aacd26b.
2024-08-19 14:55:31 -07:00
Jared Baur
6551c83ac9
Reapply "erofs-utils: add jmbaur as maintainer"
This reverts commit 52ee4c79f6.
2024-08-19 14:55:24 -07:00
Jared Baur
1fb82557f9
Reapply "erofs-utils: 1.7.1 -> 1.8.1"
This reverts commit 13c304eb48.
2024-08-19 14:55:18 -07:00
Vladimír Čunát
13c304eb48 Revert "erofs-utils: 1.7.1 -> 1.8.1"
This reverts commit ebdc6c7e13.
2024-08-18 15:16:03 +02:00
Vladimír Čunát
52ee4c79f6 Revert "erofs-utils: add jmbaur as maintainer"
This reverts commit 3dd73bf802.
2024-08-18 15:16:03 +02:00
Vladimír Čunát
d45aacd26b Revert "erofs-utils: nixfmt"
This reverts commit 4e10989673.
2024-08-18 15:16:03 +02:00
Jared Baur
4e10989673 erofs-utils: nixfmt 2024-08-16 08:12:05 +00:00
Jared Baur
3dd73bf802 erofs-utils: add jmbaur as maintainer 2024-08-16 08:12:05 +00:00
Jared Baur
ebdc6c7e13 erofs-utils: 1.7.1 -> 1.8.1 2024-08-16 08:12:05 +00:00
Jared Baur
173b9d562f
erofs: allow adding LZMA support
LZMA support for EROFS is considered experimental in the current release
and defaults to disabled, so `lzmaSupport` defaults to false.
2024-01-14 21:47:57 -08:00
rewine
7db1010453
erofs-utils: add selinuxSupport option 2023-11-03 09:26:27 +08:00
nikstur
8b4a045bb8
erofs-utils: 1.7 -> 1.7.1 (#265080)
changelog: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/ChangeLog?h=v1.7.1
2023-11-02 23:18:25 +01:00
Alyssa Ross
ed0bddfcf0 erofs-utils.meta.homepage: init 2023-10-21 10:15:06 -03:00
Yureka
5893e60936 erofs-utils: set explicit MAX_BLOCK_SIZE
eliminates an impurity through sysconf(_SC_PAGESIZE) when the setting is not specified
2023-10-18 00:48:04 +02:00
Julian Stecklina
54adff2f84 erofs-utils: fix filesystem corruption issues
When packaging a Nix store, erofs hits a bug in version 1.7:

 [36640.475349] erofs: (device loop0): erofs_read_inode: bogus i_mode (0) @ nid 0
 cannot access '.../-tzdata-2023c/share/zoneinfo/Brazil/Acre': Structure needs cleaning

Backport the fix from erofs master.
2023-10-18 00:48:04 +02:00
Thomas Gerbet
943da8b1a7 erofs-utils: 1.6 -> 1.7
Fixes CVE-2023-33552 and CVE-2023-33551.

Changelog:
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/ChangeLog?h=v1.7
2023-09-23 19:05:58 +02:00
nikstur
a3d60923a5 erofs-utils: enable running on darwin 2023-06-27 13:05:02 +02:00