diff --git a/img/vm-test.nix b/img/vm-test.nix index f927f14..8e80732 100644 --- a/img/vm-test.nix +++ b/img/vm-test.nix @@ -12,20 +12,10 @@ pup, shellcheck, python3, - xonsh, name, ... }: -let - basicPython = (python3.withPackages (p: with p; [ pyyaml ])); - x = xonsh.overridePythonAttrs (old: { - python3 = basicPython; - propagatedBuildInputs = - (if builtins.hasAttr "propagatedBuildInputs" old then old.propagatedBuildInputs else [ ]) - ++ [ basicPython.pkgs.pyyaml ]; - }); -in dockerTools.buildLayeredImage { name = name "vm-test"; tag = "latest"; @@ -42,9 +32,9 @@ dockerTools.buildLayeredImage { jq packer pup + (python3.withPackages (x: with x; [ pyyaml ])) shellcheck dockerTools.usrBinEnv - x ]; extraCommands = '' mkdir -p tmp