This commit is contained in:
2026-02-04 18:46:05 +01:00
parent 2a027e8faf
commit 1e77031bdd
2 changed files with 2 additions and 2 deletions

View File

@@ -2,6 +2,6 @@ with import <nixpkgs> {};
stdenv.mkDerivation {
name = "media";
buildInputs = [ imagemagick
(python3.withPackages (ps: with ps; [ pyyaml ]))
python3Packages.pyyaml
];
}

View File

@@ -15,6 +15,6 @@ for x in *; do
large=$x
small=../thumbnails-small/$x
if ! [ -f $small ] || [ $large -nt $small ]; then
convert $x -resize x"$thumbnail_height" $small
magick $x -resize x"$thumbnail_height" $small
fi
done