1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

docker: use callPackage, parametrise the image build

This commit is contained in:
Pol Dellaiera 2025-06-12 19:07:20 +02:00
parent 5abaf361a4
commit 5862f38d00
3 changed files with 58 additions and 45 deletions

View file

@ -404,8 +404,7 @@
dockerImage =
let
pkgs = nixpkgsFor.${system}.native;
image = import ./docker.nix {
inherit pkgs;
image = pkgs.callPackage ./docker.nix {
tag = pkgs.nix.version;
};
in