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:
parent
5abaf361a4
commit
5862f38d00
3 changed files with 58 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue