Commit Graph

40 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
Sergei Trofimovich
009bee2d92 ncdu: 2.6 -> 2.7
Changes: https://dev.yorhel.nl/ncdu/changes2
2024-11-20 06:39:22 +00:00
Sergei Trofimovich
a3a32f3b92 ncdu: 2.5 -> 2.6
Changes: https://dev.yorhel.nl/ncdu/changes2
2024-10-15 07:14:40 +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
R. Ryantm
af6877a05e ncdu: 2.4 -> 2.5 2024-07-25 12:28:29 +00:00
Zhong Jianxin
30b5213241 ncdu: 2.3 -> 2.4 2024-04-27 19:05:08 +08:00
Austin Horstman
ad07cd4fc2
treewide: add version tests (#255781) 2023-09-18 22:58:14 +03:00
Anton Mosich
da5f5eea70 ncdu_1: 1.17 -> 1.18.1
Also sets meta.mainProgram
2023-08-25 21:26:21 +02:00
Tarcísio Genaro Rodrigues
0af69c7c52 ncdu: pie for darwin builds
Fix broken darwin compilation. The issue started after the 2.2.2 ->
2.3 update (0b6d395909).

`ncdu` defaults pie to false while `zig` requires it to be true for
darwin.
2023-08-17 08:05:53 -03:00
Daniel Nagy
0b6d395909 ncdu: 2.2.2 -> 2.3
Changelog: https://dev.yorhel.nl/ncdu/changes2
2023-08-14 15:39:35 +00:00
figsoda
17d404ee80 zig.hook: rename from zigHook
This makes using specific versions of zig easier (without overrides)
2023-08-10 02:37:53 +00:00
Anderson Torres
29b89132fb ncdu: use zigHook
Also, a cosmetic refactor:

- Reorder parameter listing
- Use rec-less, overlay-style overridable recursive attributes (in effect since
NixOS#119942);
- Remove nested with (according to
https://nix.dev/recipes/best-practices#with-scopes)
- Add `meta.changelog`
2023-08-05 11:10:50 +00:00
Sandro Jäckel
cf6c96533b
treewide: reduce packages I maintainer 2023-07-23 19:30:22 +02:00
Erik Rodriguez
4841921a2c
ncdu_2: 2.2.1 -> 2.2.2 2023-02-01 11:52:14 -03:00
Daniel Nagy
645456c2d5
ncdu: 2.1.2 -> 2.2.1
Release notes: https://dev.yorhel.nl/ncdu/changes2
2022-11-19 23:00:00 +01:00
Naïm Favier
6674d1f420
ncdu: fix cpu impurity 2022-10-21 16:36:51 +02:00
zowoq
98367d2c61 ncdu: default to v2 2022-07-22 08:08:57 +10:00
zowoq
74a366bdbb ncdu: 1.16 -> 1.17
https://dev.yorhel.nl/ncdu/changes
2022-07-13 09:09:03 +10:00
Fabian Affolter
71bfa1cb89 ncdu: 1.15.1 -> 1.16 2021-07-04 18:16:10 +02:00
Sandro Jäckel
65b1196963
ncdu: adopt 2021-06-18 10:55:01 +02:00
zowoq
3de1d14df8 ncdu: remove maintainer 2021-06-18 16:17:18 +10: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
zowoq
b254684245 ncdu: 1.15 -> 1.15.1
https://dev.yorhel.nl/ncdu/changes
2020-06-15 08:39:21 +10:00
zowoq
d2528b8873 ncdu: add maintainer 2020-06-08 13:25:16 +10:00
zowoq
d75908d5fc ncdu: 1.14.2 -> 1.15
https://dev.yorhel.nl/ncdu/changes
2020-05-31 00:05:33 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zowoq
4dfac925a6 ncdu: 1.14.1 -> 1.14.2
https://dev.yorhel.nl/ncdu/changes
2020-02-11 08:36:31 +10:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
R. RyanTM
24d22fe619 ncdu: 1.14 -> 1.14.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ncdu/versions
2019-08-19 17:48:11 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
dywedir
c7df612e2a
ncdu: 1.13 -> 1.14 2019-02-05 09:39:57 +02:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Tuomas Tynkkynen
583af89fc0 ncdu: 1.12 -> 1.13 2018-02-02 01:33:43 +02:00
Pascal Wittmann
f63c21569f
Fix homepage links (see #30636) 2017-11-11 17:36:48 +01:00
Pascal Wittmann
69d3536852 ncdu: 1.11 -> 1.12 2016-11-17 22:34:03 +01:00
Pascal Wittmann
e928a5379f ncdu: update from 1.10 to 1.11 2015-05-29 22:17:02 +02:00
Evgeny Egorochkin
d189a57fd7 ncdu: update from 1.8 to 1.10 2014-02-27 18:49:28 +02:00
Bjørn Forsman
083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00
Domen Kozar
301d2e5431 ncdu: set platforms 2013-05-04 20:34:15 +02:00
aszlig
ec6926bf7e ncdu: New package, starting at version 1.8.
`ncdu` is a little ncurses tool to browse the filesystem tree sorted by disk
usage.
2012-08-22 10:02:19 +02:00