···109109 reconfiguring <literal>hostsdir</literal>.110110 </para>111111 </listitem>112112+ <listitem>113113+ <para>114114+ The <literal>99-main.network</literal> file was removed. Maching all115115+ network interfaces caused many breakages, see116116+ <link xlink:href="https://github.com/NixOS/nixpkgs/pull/18962">#18962</link>117117+ and <link xlink:href="https://github.com/NixOS/nixpkgs/pull/71106">#71106</link>.118118+ </para>119119+ <para>120120+ We already don't support the global <link linkend="opt-networking.useDHCP">networking.useDHCP</link>,121121+ <link linkend="opt-networking.defaultGateway">networking.defaultGateway</link> and122122+ <link linkend="opt-networking.defaultGateway6">networking.defaultGateway6</link> options123123+ if <link linkend="opt-networking.useNetworkd">networking.useNetworkd</link> is enabled,124124+ but direct users to configure the per-device125125+ <link linkend="opt-networking.interfaces">networking.interfaces.<name>.…</link> options.126126+ </para>127127+ </listitem>112128 </itemizedlist>113129 </section>114130
···7676 };7777 in mkMerge [ {7878 enable = true;7979- networks."99-main" = (genericNetwork mkDefault) // {8080- # We keep the "broken" behaviour of applying this to all interfaces.8181- # In general we want to get rid of this workaround but there hasn't8282- # been any work on that.8383- # See the following issues for details:8484- # - https://github.com/NixOS/nixpkgs/issues/189628585- # - https://github.com/NixOS/nixpkgs/issues/616298686- matchConfig = mkDefault { Name = "*"; };8787- };8879 }8980 (mkMerge (forEach interfaces (i: {9081 netdevs = mkIf i.virtual ({
···88 # In theory this could use GCC + Clang rather than just Clang,99 # but https://github.com/NixOS/nixpkgs/issues/29877 stops this1010 name = "openshadinglanguage-${version}";1111- version = "1.10.6";1111+ version = "1.10.7";12121313 src = fetchFromGitHub {1414 owner = "imageworks";1515 repo = "OpenShadingLanguage";1616- rev = "Release-1.10.6";1717- sha256 = "1g8g853iq56knlvn1hdsck78by3843vyly9wji5ip41r6i2s0zla";1616+ rev = "Release-1.10.7";1717+ sha256 = "15grach34grp8x65sq8xzs2s6nfzjhn4blpfnaicw46jdi4c2w59";1818 };19192020 cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
+16-39
pkgs/development/compilers/swi-prolog/default.nix
···11-{ stdenv, fetchgit, jdk, gmp, readline, openssl, unixODBC, zlib11+{ stdenv, fetchFromGitHub, jdk, gmp, readline, openssl, unixODBC, zlib22, libarchive, db, pcre, libedit, libossp_uuid, libXpm33-, libSM, libXt, freetype, pkgconfig, fontconfig, makeWrapper ? stdenv.isDarwin44-, git, cacert, cmake, libyaml33+, libSM, libXt, freetype, pkgconfig, fontconfig44+, cmake, libyaml, Security55, libjpeg, libX11, libXext, libXft, libXinerama66, extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ]77, extraPacks ? []···1818 pname = "swi-prolog";1919 inherit version;20202121- src = fetchgit {2222- url = "https://github.com/SWI-Prolog/swipl-devel";2121+ src = fetchFromGitHub {2222+ owner = "SWI-Prolog";2323+ repo = "swipl-devel";2324 rev = "V${version}";2425 sha256 = "0czbrscx2s4079nmwvipp9cnwfny16m3fpnp823llm7wyljchgvq";2626+ fetchSubmodules = true;2527 };26282727- buildInputs = [ cacert git cmake gmp readline openssl2929+ nativeBuildInputs = [ cmake pkgconfig ];3030+3131+ buildInputs = [ gmp readline openssl2832 libarchive libyaml db pcre libedit libossp_uuid2929- zlib pkgconfig ]3333+ zlib ]3034 ++ stdenv.lib.optionals (withGui && !stdenv.isDarwin) [ libXpm libX11 libXext libXft libXinerama libjpeg ]3135 ++ extraLibraries3232- ++ stdenv.lib.optional stdenv.isDarwin makeWrapper;3636+ ++ stdenv.lib.optional stdenv.isDarwin Security;33373438 hardeningDisable = [ "format" ];35393636- configureFlags = [3737- "--with-world"3838- "--enable-gmp"3939- "--enable-shared"4040- ];4040+ cmakeFlags = [ "-DSWIPL_INSTALL_IN_LIB=ON" ];41414242- installPhase = ''4343- mkdir -p $out4444- mkdir build4545- cd build4646- ${cmake}/bin/cmake -DCMAKE_INSTALL_PREFIX=$out ..4747- cd ../4848- make4949- make install5050- make clean5151- mkdir -p $out/lib/swipl/pack5252- ''5353- + builtins.concatStringsSep "\n"4242+ postInstall = builtins.concatStringsSep "\n"5443 ( builtins.map (packInstall "$out") extraPacks5544 );56455757- # For macOS: still not fixed in upstream: "abort trap 6" when called5858- # through symlink, so wrap binary.5959- # We reinvent wrapProgram here but omit argv0 pass in order to not6060- # break PAKCS package build. This is also safe for SWI-Prolog, since6161- # there is no wrapping environment and hence no need to spoof $06262- postInstall = stdenv.lib.optionalString stdenv.isDarwin ''6363- local prog="$out/bin/swipl"6464- local hidden="$(dirname "$prog")/.$(basename "$prog")"-wrapped6565- mv $prog $hidden6666- makeWrapper $hidden $prog6767- '';6868-6946 meta = {7070- homepage = http://www.swi-prolog.org/;4747+ homepage = "https://www.swi-prolog.org";7148 description = "A Prolog compiler and interpreter";7272- license = "LGPL";4949+ license = stdenv.lib.licenses.bsd2;73507451 platforms = stdenv.lib.platforms.linux ++ stdenv.lib.optionals (!withGui) stdenv.lib.platforms.darwin;7552 maintainers = [ stdenv.lib.maintainers.meditans ];