ref: move source code to ./src (clean top level)

This commit is contained in:
David Arnold 2021-05-28 14:31:36 -05:00
parent 6ae1e2eb15
commit 09e268920b
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
35 changed files with 2 additions and 2 deletions

View file

@ -1,17 +0,0 @@
{ lib, pkgs }:
with lib;
{
copyDockerImages = { images, dest, args ? "" }:
pkgs.writeScript "copy-docker-images.sh" (concatMapStrings
(image: ''
#!${pkgs.runtimeShell}
set -e
echo "copying '${image.imageName}:${image.imageTag}' to '${dest}/${image.imageName}:${image.imageTag}'"
${pkgs.skopeo}/bin/skopeo copy ${args} $@ docker-archive:${image} ${dest}/${image.imageName}:${image.imageTag}
'')
images);
}