diff --git a/pkgs/development/libraries/gdcm/default.nix b/pkgs/development/libraries/gdcm/default.nix index c840950140c3..ba4ffc332e68 100644 --- a/pkgs/development/libraries/gdcm/default.nix +++ b/pkgs/development/libraries/gdcm/default.nix @@ -16,7 +16,7 @@ }: stdenv.mkDerivation rec { - pname = "gdcm"; + pname = if enablePython then "python-gdcm" else "gdcm"; version = "3.0.24"; src = fetchFromGitHub {