Merge pull request #194941 from Artturin/libxml2strict

authored by Artturi and committed by GitHub f9f82fdb cdfb8a30

+11 -5
+1 -1
nixos/lib/make-options-doc/default.nix
··· 122 122 123 123 optionsJSON = pkgs.runCommand "options.json" 124 124 { meta.description = "List of NixOS options in JSON format"; 125 - buildInputs = [ 125 + nativeBuildInputs = [ 126 126 pkgs.brotli 127 127 (let 128 128 self = (pkgs.python3Minimal.override {
+5 -2
pkgs/development/libraries/libxml2/default.nix
··· 12 12 , ncurses 13 13 , findXMLCatalogs 14 14 , libiconv 15 - , pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform 15 + , pythonSupport ? enableShared 16 16 , icuSupport ? false 17 17 , icu 18 18 , enableShared ? stdenv.hostPlatform.libc != "msvcrt" && !stdenv.hostPlatform.isStatic ··· 60 60 }) 61 61 ]; 62 62 63 + strictDeps = true; 64 + 63 65 nativeBuildInputs = [ 64 66 pkg-config 65 67 autoreconfHook ··· 94 96 (lib.enableFeature enableStatic "static") 95 97 (lib.enableFeature enableShared "shared") 96 98 (lib.withFeature icuSupport "icu") 97 - (lib.withFeatureAs pythonSupport "python" python) 99 + (lib.withFeature pythonSupport "python") 100 + (lib.optionalString pythonSupport "PYTHON=${python.pythonForBuild.interpreter}") 98 101 ]; 99 102 100 103 installFlags = lib.optionals pythonSupport [
+5 -2
pkgs/development/libraries/libxslt/default.nix
··· 10 10 , ncurses 11 11 , libgcrypt 12 12 , cryptoSupport ? false 13 - , pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform 13 + , pythonSupport ? true 14 14 , gnome 15 15 }: 16 16 ··· 25 25 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 26 sha256 = "EoSPCkQI9ltTDTlizZ/2cLaueWGRz+/zdSK1dy3o3I4="; 27 27 }; 28 + 29 + strictDeps = true; 28 30 29 31 nativeBuildInputs = [ 30 32 pkg-config ··· 51 53 "--without-debug" 52 54 "--without-mem-debug" 53 55 "--without-debugger" 54 - (lib.withFeatureAs pythonSupport "python" python) 56 + (lib.withFeature pythonSupport "python") 57 + (lib.optionalString pythonSupport "PYTHON=${python.pythonForBuild.interpreter}") 55 58 ] ++ lib.optionals (!cryptoSupport) [ 56 59 "--without-crypto" 57 60 ];