Commit Graph

91 Commits

Author SHA1 Message Date
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
Emily
8f61973d92 Revert "e2fsprogs: build fuse2fs on darwin"
This change, while fine in isolation, breaks evaluation in combination
with <https://github.com/NixOS/nixpkgs/pull/329721>, as `xar` depends
on `e2fsprogs` which now depends on `macfuse-stubs` which depends on
`xar`. This broke `staging-next`.

A couple possible solutions are to disable the `e2fsprogs` dependency
in the version of `xar` used for the bootstrap, or to build
`macfuse-stubs` from source to avoid the `xar` dependency.

This reverts commit 0dfc820f4a.
2024-09-04 07:13:30 +01:00
7c6f434c
87eff73287
e2fsprogs: build fuse2fs on darwin (#328172) 2024-09-03 12:17:51 +00:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Ihor Stuzhuk
0dfc820f4a e2fsprogs: build fuse2fs on darwin 2024-07-18 15:45:13 +03:00
Alyssa Ross
9a21575b5f e2fsprogs: apply patches to fix libblockdev
Fixes: 767876986f ("e2fsprogs: 1.47.0 -> 1.47.1")
2024-05-27 21:57:35 +02:00
Yureka
5e9dc71d53 e2fsprogs: use fuse3 2024-05-24 10:42:52 +02:00
Yureka
767876986f e2fsprogs: 1.47.0 -> 1.47.1 2024-05-24 10:42:52 +02:00
Nikolay Korotkiy
d8c8ccaeca
e2fsprogs: add withFuse option 2023-11-27 22:19:42 +04:00
Vladimír Čunát
c311c7c5cc
e2fsprogs: avoid incompatible features in mke2fs
by a patch taken from Debian's 1.47.0-2.  Discussion:
https://github.com/NixOS/nixpkgs/pull/229454#issuecomment-1601698426
2023-06-23 08:22:47 +02:00
ylin
838c2243d2
e2fsprogs: 1.46.6 -> 1.47.0 2023-05-06 10:43:59 +08:00
Robert Schütz
fdca54f1a1 e2fsprogs: 1.46.5 -> 1.46.6
Changelog: https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.46.6
2023-02-04 20:42:32 -08:00
Weijia Wang
218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Vladimír Čunát
f008987704
e2fsprogs: apply patch unconditionally
Commit 49d0a5afd mistakenly inverted when to apply the patch.
Maybe it's not needed anymore, as pkgsMusl.e2fsprogs succeeded for me
even without it, but it looks harmless and better not have it inversed.
This way we also don't cause a mass rebuild :-)
2022-05-24 16:13:24 +02:00
Alyssa Ross
4abc8088b7 e2fsprogs: patch for CVE-2022-1304
Did a basic smoke test of e2fsck.
2022-05-13 18:55:11 +00:00
Artturin
b7dcb6e2c7 e2fsprogs: build fuse2fs and add output for fuse2fs
it adds 14mb of dependencies
which can be significant for initrd

without a separate output
$ du -sch $(nix-store -qR ./result-bin) | sort -h

before fuse dep

618K	/nix/store/w2id1hwv4vv7hvp4slgsyrydrjbfqdxc-libidn2-2.3.2
698K	/nix/store/ki0x4wywp5b7rixwk1miq222wybdl3si-e2fsprogs-1.46.5-bin
732K	/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
747K	/nix/store/8ckxc8biqqfdwyhr0w70jgrcb4h7a4y5-libunistring-0.9.10
853K	/nix/store/kx41yd3yyr9bwrsk85fhhx6qhavfwql6-util-linux-2.37.3-lib
2,3M	/nix/store/7nkr1kzrj5j6vzq952p35g0vzk747xjz-e2fsprogs-1.46.5
16M	/nix/store/4s21k8k7p1mfik0b33r2spq5hq7774k1-glibc-2.33-108
22M	total

after fuse dep

38K	/nix/store/k15b817jqz4ckp8rp1mgpkvvx78xxp2n-shadow-4.8.1-su
112K	/nix/store/bqjh8dc6m5plswxrmmn9x4cpxrrw94lv-zlib-1.2.11
277K	/nix/store/nzw0c7ag22mbyc4xrqyy1q1azq9r8kis-audit-2.8.5
285K	/nix/store/ka1xx3ldpliww27wmskc1yxlgcfisdyf-libcap-ng-0.8.2
371K	/nix/store/mvgg2fk5wwrcmm3wbrjhjn034aivrik2-fuse-2.9.9
618K	/nix/store/w2id1hwv4vv7hvp4slgsyrydrjbfqdxc-libidn2-2.3.2
732K	/nix/store/4nmqxajzaf60yjribkgvj5j54x9yvr1r-bash-5.1-p12
738K	/nix/store/7wi0dn50wgimvfi30i3d4mxz40vcal10-e2fsprogs-1.46.5-bin
747K	/nix/store/8ckxc8biqqfdwyhr0w70jgrcb4h7a4y5-libunistring-0.9.10
853K	/nix/store/kx41yd3yyr9bwrsk85fhhx6qhavfwql6-util-linux-2.37.3-lib
1,3M	/nix/store/043lz8mvyx5vxl058c1i586yqc8ax4ig-glibc-2.33-108-bin
1,7M	/nix/store/fpzbv79ak68sh2sh6mag6jym553wfxws-db-4.8.30
2,3M	/nix/store/9w5l1zrdd21hjxgjp5jnxxr6jibpjxd4-shadow-4.8.1
2,3M	/nix/store/hjmxalhkvvajs2n26b0ry7ns56bh9k9s-e2fsprogs-1.46.5
2,5M	/nix/store/ndnqiz3nnifj1blhg9q626xlmkqq1nmh-gcc-10.3.0-lib
2,8M	/nix/store/pnp5qkmj8m07jl8pghhglfdczz2840r9-linux-pam-1.5.2
2,9M	/nix/store/h25q7c560bchn326363ms2001jjgf338-util-linux-2.37.3-bin
16M	/nix/store/4s21k8k7p1mfik0b33r2spq5hq7774k1-glibc-2.33-108
36M	total

e2fsprogs: build fuse2fs on linux only

the fuse for macos might be broken
2022-03-27 01:46:41 +02:00
Artturi
0ba426a475
Merge pull request #156605 from kampka/e2fsprogs-test
e2fsprogs: Add test
2022-03-06 11:19:48 +02:00
Christian Kampka
ca20993e76
e2fsprogs: Add test 2022-01-24 21:54:32 +01:00
Alyssa Ross
8fd298a93a e2fsprogs: add meta.changelog 2022-01-18 18:22:04 +00:00
Alyssa Ross
88f3d370aa e2fsprogs: 1.46.4 -> 1.46.5 2022-01-18 18:22:04 +00:00
ajs124
52b6290b73 e2fsprogs: 1.46.2 -> 1.46.4 2021-10-14 21:41:58 +02:00
midchildan
c5fbf84eb0
e2fsprogs: 1.45.6 -> 1.46.2 2021-03-24 02:33:10 +09:00
Sandro Jäckel
b1ce6cffc0
e2fsprogs: mark broken on darwin 2021-02-13 00:25:23 +01:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
John Ericson
5c2965145f treewide: Inline more of the static overlay
Picking up where #107238 left off. I think I'll have gotten all the easy
stuff with this.
2021-01-03 21:46:14 +00:00
Christian Kampka
fb51f058c5 e2fsprogs: 1.45.5 -> 1.45.6 2020-12-08 05:24:21 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Samuel Dionne-Riel
8fb90fbf3a e2fsprogs: 1.45.4 -> 1.45.5 2020-02-05 10:35:08 +01:00
Marco A L Barbosa
f6ea33023e e2fsprogs: allow static build 2019-12-05 11:55:24 -03:00
R. RyanTM
eff7a160c2 e2fsprogs: 1.45.3 -> 1.45.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/e2fsprogs/versions
2019-10-22 09:54:48 +02:00
Frederik Rietdijk
151f52bf96 e2fsprogs: disable failing tests (#65471)
Disable several tests that often fail on Hydra but not locally.
2019-08-31 10:27:57 +02:00
R. RyanTM
b42edbcfa7 e2fsprogs: 1.45.2 -> 1.45.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/e2fsprogs/versions
2019-07-20 09:41:18 +02:00
Will Dietz
c70260eea7
e2fsprogs: 1.45.1 -> 1.45.2 2019-05-30 22:41:39 -05:00
Will Dietz
deadc14733 e2fsprogs: fix w/musl, tweak patch 2019-05-28 08:55:24 +02:00
Will Dietz
ffa37749a1 e2fsprogs: 1.45.0 -> 1.45.1 2019-05-28 08:55:24 +02:00
Yegor Timoshenko
7409ec7e1e
e2fsprogs: fix cross compilation 2019-05-26 10:20:51 +03:00
Matthew Bauer
2522f58b0e e2fsprogs: check if e2scrub_all_cron exists
doesn’t exist on macos
2019-04-26 21:55:07 -04:00
Will Dietz
10a84188ff e2fsprogs: use buildPackages.perl to avoid cycle in llvm-based stdenv 2019-03-14 10:44:11 -05:00
Will Dietz
8add9b7c21 e2fsprogs: enable tests (previously explicitly disabled) 2019-03-10 04:08:57 -05:00
Will Dietz
b531c19806 e2fsprogs: 1.44.5 -> 1.45.0
Changes:
* https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/tree/doc/RelNotes/v1.44.6.txt?h=v1.44.6
* https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/tree/doc/RelNotes/v1.45.0.txt?h=v1.45.0

Also:
* remove 'hack' for installing pc files
* fixup location of `e2scrub_all_cron` to avoid reference cycle in
  outputs, promote to $bin/bin for now.
2019-03-10 03:58:56 -05:00
Alyssa Ross
93b0b15533
e2fsprogs: broaden platforms
Builds fine on Darwin.
2019-01-25 15:08:40 +00:00
Frederik Rietdijk
19905c4c9a Merge staging-next into staging 2018-12-31 14:21:42 +01:00
Will Dietz
8cd0dd21ba e2fsprogs: update glibcism (musl) patch, fix 2018-12-30 22:49:49 -06:00
R. RyanTM
614e10a686 e2fsprogs: 1.44.4 -> 1.44.5 (#52899)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/e2fsprogs/versions
2018-12-29 20:40:36 +01:00
Will Dietz
df1dcbf07f e2fsprogs: patch out glibc instead of local fix so headers are usable 2018-09-24 10:50:39 -05:00
Will Dietz
a3f8a2c56f e2fsprogs: fix w/musl, __GNUC_PREREQ is glibc-ism
Fixes compilation on non-glibc at minor cost since these are only
used to guard the use of pragmas selectively disabling warnings
based on the GCC version used.
2018-08-28 08:34:52 -05:00
R. RyanTM
0e530b037d e2fsprogs: 1.44.3 -> 1.44.4 (#45602)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/e2fsprogs/versions.
2018-08-27 02:09:44 +02:00