Commit Graph

43 Commits

Author SHA1 Message Date
R. Ryantm
20dffb7a6c linuxPackages.v4l2loopback: 0.15.3 -> 0.15.4 2026-06-24 23:56:46 +00:00
Robert Rose
d91e3506ee v4l2loopback: use substituteInPlace --replace-fail 2026-03-06 10:33:25 +01:00
Dietrich Daroch
2320bd96f0 v4l2loopback: 0.15.1 -> 0.15.3 2025-12-04 00:43:17 -03:00
Dietrich Daroch
69bc5f5433 v4l2loopback: Add nix update script
This should allow automatic version bumps and avoid getting stuck into older
broken versions.

- https://github.com/NixOS/nixpkgs/issues/453831
2025-12-04 00:42:51 -03:00
dramforever
b9e09271b7 linuxPackages.v4l2loopback: Fix makeFlags for utils
Do not pass makeFlags to the utils build. It only works with building
kernel modules.

Fixes #436300.
2025-08-26 22:35:14 +02:00
wxt
44cb2708e5 linuxKernel.packages.linux*.v4l2loopback: 0.15.0 -> 0.15.1 2025-07-25 21:17:02 +08:00
Amadej Kastelic
ff9508371c linuxKernel.packages.v4l2loopback: 0.13.2 -> 0.15.0 2025-05-28 17:40:44 +02: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
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Maximilian Bosch
5645cd22d4 linux: expose make flags for modules in linuxKernel.packages.linux_X_Y
Closes #376820

The issue with providing `moduleMakeFlags` via `passthru` of the kernel
package is that when this package gets overriden[1], the `moduleMakeFlags`
list still references the kernel without the overrides.

This broke e.g. kernel modules of linux-rpi4 which can be reproduced
with

    nix-build --argstr system aarch64-linux -A linuxKernel.packages.linux_rpi4.zfs_2_3

This used to break with

    Error: modDirVersion 6.6.51 specified in the Nix expression is wrong, it should be: 6.6.51-v8

since KBUILD_OUTPUT referenced the kernel without the changes from
`overrideDerivation` that also changes the `modDirVersion`.

The new approach is to add the build flags right into
`linuxKernel.packages.linux_X_Y`: that way we don't need any hacks to
update `moduleMakeFlags` when the derivation with the passthru gets
overridden.

By using the fixpoint of the package-set, the `kernelModuleMakeFlags`
list is correctly updated. E.g. given

    with import ./. {};

    linuxKernel.packages.linux_6_6.extend (self: super: {
      kernel = super.kernel.overrideAttrs (_: {
        name = "linux-snens";
      });
    })

the `makeFlags` is correctly updated:

    $ nix-instantiate snenskek.nix -A zfs_2_3.makeFlags --eval --strict
    [ "ARCH=x86_64" "CROSS_COMPILE=" "KBUILD_OUTPUT=/nix/store/gsp68549k1aqbwxwczpgw67w5jjn4shw-linux-snens-dev/lib/modules/6.6.74/build" ]

[1] E.g. `linux-rpi4`.
2025-01-27 16:09:50 +01:00
K900
aa3e94fe7c treewide: kernel.makeFlags -> kernel.moduleMakeFlags 2025-01-23 14:00:43 +03:00
Florian Klink
f71455822a linuxPackages*.v4l2loopback: 0.12.7-unstable-2024-02-12 -> 0.13.2 2024-08-14 12:01:08 +03: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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Sefa Eyeoglu
7caba87711 linuxPackages.v4l2loopback: unstable-2023-11-23 -> 0.12.7-unstable-2024-02-12
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-03-13 11:08:26 +01:00
André Silva
0da0176346 v4l2loopback: unstable-2023-02-19 -> unstable-2023-11-23 2023-12-11 13:10:40 +00:00
fortuneteller2k
d3c568b7bc maintainers: fortuneteller2k -> moni 2023-11-17 18:03:27 +08:00
betaboon
fc6c5c71b4 v4l2loopback: unstable-2022-08-05 -> unstable-2023-02-19 2023-04-07 17:34:54 +02:00
FliegendeWurst
ba15914be7 v4l2loopback: unstable-2021-07-13 -> unstable-2022-08-05 2022-11-01 11:30:32 +01:00
Nick Cao
0b302ffa47 v4l2loopback: prepend kernel.makeFlags to makeFlags and some cleanup 2022-03-07 12:23:48 +08:00
Las Safin
d8c9c038e6 v4l2loopback: Fix issue with buildEnv using bin output
See https://github.com/NixOS/nixpkgs/pull/134311#issuecomment-901952544
2021-08-19 15:24:49 +00:00
Las Safin
47aa19484c v4l2loopback: unstable-2020-04-22 -> unstable-2021-07-13 2021-08-16 12:12:41 +00:00
Las Safin
d72d1fe1e5 v4l2loopback: Add bin output with utils 2021-08-16 11:33:38 +00:00
fortuneteller2k
943d26cf3b linuxPackages_4_4.v4l2loopback: fix build for 4.4 kernels 2021-06-06 13:07:26 +08:00
Domen Kožar
52041b5d02 remove myself from a bunch of software I no longer use/maintain 2021-03-03 10:50:26 +00: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
jakobrs
d21cc14114 v4l2loopback: 0.12.4 -> 0.12.5 2020-04-29 07:19:01 +02:00
Andreas Stührk
9ddfde8977 v4l2loopback: 0.12.3 -> 0.12.4 2020-04-10 14:22:11 -07:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Cole Mickens
c841d2017e v4l2loopback: 0.12.2 -> 0.12.3 2020-01-17 00:16:26 -08:00
Cole Mickens
cb04c66a30 v4l2loopback: 0.12.0 -> 0.12.2 2019-10-23 01:45:27 -07:00
Ryan Trinkle
3ae9bf6d0e v42lloopback: 0.11 -> 0.12 2018-10-08 15:00:13 -04:00
Piotr Bogdan
6b8a6faf62 linuxPackages.v4l2loopback: 0.9.1 -> 0.11.0 2018-03-28 23:42:40 +01:00
Andreas Rammhold
2bd9f81abd linuxPackages.v4l2loopback: fix compilation with linux-4.14 2018-01-19 14:40:13 +01:00
Franz Pletz
f8d481754c Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Domen Kožar
b49bf121b8 rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
33a0e63fbf linuxPackages.v4l2loopback: no format/pic hardening 2016-02-07 22:45:28 +00:00
Nathaniel Baxter
6bff6eec67 v4l2loopback: update 0.8.0 -> 0.9.1 2015-07-25 11:59:09 +10:00
Domen Kožar
024a28e5e8 v4l2loopback: fix build in kernel 3.18 2014-12-10 12:55:04 +01:00
Domen Kožar
f7b19ea8b3 typo 2014-04-02 12:40:59 +02:00
Domen Kožar
c6ebbd29e5 add v4l2loopback: a kernel module to create V4L2 loopback devices 2014-03-31 20:02:53 +02:00