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