make name valid for hydra

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-22 11:29:15 +01:00
parent c07292fe84
commit fbab719057
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -127,11 +127,11 @@
value = x; value = x;
}) srcs); }) srcs);
pkgs-jxl = mapAttrs' (name: value: { pkgs-jxl = mapAttrs' (name: value: {
name = "${name}.jxl"; name = "${name}-jxl";
inherit value; inherit value;
}) pkgs-base; }) pkgs-base;
pkgs-png = mapAttrs' (name: value: { pkgs-png = mapAttrs' (name: value: {
name = "${name}.png"; name = "${name}-png";
value = pkgs.stdenvNoCC.mkDerivation { value = pkgs.stdenvNoCC.mkDerivation {
name = "${name}.png"; name = "${name}.png";
version = extract-version name; version = extract-version name;
@ -147,7 +147,7 @@
pkgs-jpg = mapAttrs' (name: value: { pkgs-jpg = mapAttrs' (name: value: {
name = "${name}.jpg"; name = "${name}.jpg";
value = pkgs.stdenvNoCC.mkDerivation { value = pkgs.stdenvNoCC.mkDerivation {
name = "${name}.jpg"; name = "${name}-jpg";
version = extract-version name; version = extract-version name;
meta.artist = extract-artist name; meta.artist = extract-artist name;
nativeBuildInputs = [pkgs.imagemagick]; nativeBuildInputs = [pkgs.imagemagick];