1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/applications/virtualization/docker
Andreas Rammhold ed46383416 docker: allow overriding package inputs per docker package
Previously we could not override the input packages to docker at all as
that had been shadowed due to the usage of inherit in all-package.nix.

We are now mixing the "variable" variables for the build and the
dependency declarations for the package and using callPackage as if each
of the docker packages would be separate files that we evaluate.

This now enables overriding e.g. iptables for a single verison of
docker which previously was not feasible without importing the
default.nix again (and passing different arguments).

> pkgs.docker.override { iptables = pkgs.iptables-nftables-compat; }
2021-01-26 13:08:25 +01:00
..
buildx.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
default.nix docker: allow overriding package inputs per docker package 2021-01-26 13:08:25 +01:00
distribution.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
gc.nix pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
proxy.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00