New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ebtables: restore legacy commands #81545
Conversation
Perhaps. I don't quite see the purpose. If a package depends on nftables and not ebtables, should it not just replace ebtables with nftables or vice versa? That's the mechanism we have for choosing different packages. Is there a use-case for a package or system depending on both the new nftables commands and the old ebtables commands simultaneously, by both being present and named differently? |
It's more of
|
Disregard my previous comments, |
272b893
to
188eb75
Compare
188eb75
to
948e647
Compare
@yesbox please resolve the merge conflict. |
ebtables 2.0.11 renamed the ebtables commands from "ebtables*" to "ebtables-legacy-*". Of course this breaks legacy packages and scripts that depends on the ebtables commands. The idea behind this upstream change appears to be that ebtables-nft replaces ebtables and distributions should rename either the ebtables-legacy or ebtables-nft commands to provide the ebtables commands. For nix a better fit is for packages to specify either the ebtables or the ebtables-nft package, while both packages provide the same commands. This patch restores the ebtables package so it functions again.
948e647
to
1cb447c
Compare
This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 8 packages built:
|
ebtables 2.0.11 renamed the ebtables commands from "ebtables*" to "ebtables-legacy-*".
Of course this breaks legacy packages and scripts that depends on the ebtables commands.
The idea behind this upstream change appears to be that ebtables-nft replaces ebtables and distributions should rename either the ebtables-legacy or ebtables-nft commands to provide the ebtables commands.
For nix a better fit is for packages to specify either the ebtables or the ebtables-nft package, while both packages provide the same commands.
This patch restores the ebtables package so it functions again.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)