···331331332332 # This parameter is sometimes a string, sometimes null, and sometimes a list, yuck
333333 configureFlags = let inherit (lib) optional elem; in
334334- (/**/ if lib.isString configureFlags then [configureFlags]
335335- else if configureFlags == null then []
334334+ (/**/ if lib.isString configureFlags then lib.warn "String 'configureFlags' is deprecated and will be removed in release 23.05. Please use a list of strings. Derivation name: ${derivationArg.name}, file: ${pos.file or "unknown file"}" [configureFlags]
335335+ else if configureFlags == null then lib.warn "Null 'configureFlags' is deprecated and will be removed in release 23.05. Please use a empty list instead '[]'. Derivation name: ${derivationArg.name}, file: ${pos.file or "unknown file"}" []
336336 else configureFlags)
337337 ++ optional (elem "build" configurePlatforms) "--build=${stdenv.buildPlatform.config}"
338338 ++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"