From eef15af5f35fb08ebba98d65faeff68caafb59aa Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 29 Feb 2020 02:55:56 +0000 Subject: [PATCH] fix? --- pkgs/dockerImage.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/dockerImage.nix b/pkgs/dockerImage.nix index ff882c8..bd4706f 100644 --- a/pkgs/dockerImage.nix +++ b/pkgs/dockerImage.nix @@ -1,8 +1,7 @@ { sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }: attrs: -pkgs.dockerTools.buildLayeredImage { - config = { - WorkingDir = "/"; - }; -} // attrs +let + default = { config.WorkingDir = "/"; }; + input = (default // attrs); +in pkgs.dockerTools.buildLayeredImage input