From c82890e2e2c480c3e21701eaf6875edfafb2c926 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 16 Jul 2022 23:25:56 +0000 Subject: [PATCH] imagemagick: fix version imagemagick.passthru.tests tests that the Nixpkgs version for imagemagick matches the one produced by magick --version, so the recent upgrade that changed the dash to a dot broke the test. Fixes: 3a4ea089422 ("imagemagick: 7.1.0-39 -> 7.1.0.43") --- pkgs/applications/graphics/ImageMagick/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index 165f42913bc7..0b4416aca51b 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -45,12 +45,12 @@ in stdenv.mkDerivation rec { pname = "imagemagick"; - version = "7.1.0.43"; + version = "7.1.0-43"; src = fetchFromGitHub { owner = "ImageMagick"; repo = "ImageMagick"; - rev = version; + rev = builtins.replaceStrings [ "-" ] [ "." ] version; hash = "sha256-SOy7Ci1rzLB12ofSQBWmX86dfbr/ywsRPunHRswlAt4="; };