Commit Graph

29 Commits

Author SHA1 Message Date
R. Ryantm
65f50e65e3 nsjail: 3.4 -> 3.6 2026-03-21 22:33:14 +00:00
Marcin Serwin
5b5839ce5b maintainers: drop c0bw3b
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-18 22:54:18 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
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
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
happysalada
bec1df4c38 nsjail: fix build 2024-01-19 09:20:43 -05:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Mario Rodas
118d7dd850 nsjail: add changelog to meta 2023-10-11 19:58:01 +00:00
R. Ryantm
552bd2373c nsjail: 3.3 -> 3.4 2023-10-11 19:58:01 +00:00
Maximilian Bosch
46ac366b4c nsjail: fix hooks invoked in installPhase 2022-12-16 22:31:09 +01:00
R. RyanTM
ccf0f09e2e nsjail: 3.2 -> 3.3
* nsjail: 3.2 -> 3.3 (#205507)

* nsjail: update homepage for v3.3

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-12-10 20:23:41 +01:00
R. Ryantm
144affc549 nsjail: 3.1 -> 3.2 2022-10-15 12:45:29 +00:00
Nick Cao
0016b76745 nsjail: 3.0 -> 3.1 2022-09-16 17:39:58 +08:00
Félix Baylac-Jacqué
a9a112e57f nsjail: fix bison link error
The nsjail build has been broken since the 3.7.5 bison bump:

  /nix/store/(...)/bin/ld: kafel/libkafel.a(libkafel.o):
    in function `kafel_yyerror':
  arm_syscalls.c:(.text+0x6833): undefined reference to `YYUSE'

The issue is coming from kafel and has been fixed upstream. More infos
at: https://github.com/google/kafel/pull/28.

Kafel being distributed through a git submodule in the nsjail repo, we
can't directly fetchpatch the fix from Github. We had to manually
modify the said patch to add a /kafel prefix.

We'll need to remove this patch for the next nsjail version bump.
2021-04-23 23:06:13 +02:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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
Artur Cygan
78dc3c6b00 nsjail: 2.9 -> 3.0 2020-07-23 18:08:37 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz
769487362f nsjail: 2.8 -> 2.9 2019-09-16 10:04:09 -05: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
Renaud
b38dd07eaa nsjail: fix path to new{u|g}idmap (#51523) 2018-12-04 22:47:48 +01:00
c0bw3b
9e5b98c81a nsjail: 2.7 -> 2.8
Changelog: https://github.com/google/nsjail/releases/tag/2.8
2018-11-24 00:26:40 +01:00
Renaud
a5d839f874 nsjail: 2.2 -> 2.7 (#48024) 2018-10-10 23:33:43 +02:00
Renaud
9754503c6b nsjail: 2.1 -> 2.2
plus fixed meta.license which should be Apache License 2.0
2017-11-04 20:02:23 +01:00
Renaud
5121b67b12 nsjail: git-2015-08-10 -> 2.1 2017-10-22 00:31:27 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Boris Sukholitko
c2f5d1abed nsjail: init at 8b951e6 2015-08-10 22:27:15 +03:00