···63 </listitem>
64 <listitem>
65 <para>
0000066 bash now defaults to major version 5.
67 </para>
68 </listitem>
···1118 by default. Both packages now support an
1119 <literal>enableUnfree</literal> option to re-enable this
1120 functionality.
0000000001121 </para>
1122 </listitem>
1123 </itemizedlist>
···63 </listitem>
64 <listitem>
65 <para>
66+ KDE Plasma now finally works on Wayland.
67+ </para>
68+ </listitem>
69+ <listitem>
70+ <para>
71 bash now defaults to major version 5.
72 </para>
73 </listitem>
···1123 by default. Both packages now support an
1124 <literal>enableUnfree</literal> option to re-enable this
1125 functionality.
1126+ </para>
1127+ </listitem>
1128+ <listitem>
1129+ <para>
1130+ <literal>services.xserver.displayManager.defaultSession = "plasma5"</literal>
1131+ does not work anymore, instead use either
1132+ <literal>"plasma"</literal> for the Plasma X11
1133+ session or <literal>"plasmawayland"</literal> for
1134+ the Plasma Wayland sesison.
1135 </para>
1136 </listitem>
1137 </itemizedlist>
+3
nixos/doc/manual/release-notes/rl-2111.section.md
···22 This allows activation scripts to output what they would change if the activation was really run.
23 The users/modules activation script supports this and outputs some of is actions.
240025- bash now defaults to major version 5.
2627- Systemd was updated to version 249 (from 247).
···346 configuration file. For details, see the [upstream changelog](https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst).
347348- `opencv2` no longer includes the non-free libraries by default, and consequently `pfstools` no longer includes OpenCV support by default. Both packages now support an `enableUnfree` option to re-enable this functionality.
0349350## Other Notable Changes {#sec-release-21.11-notable-changes}
351
···22 This allows activation scripts to output what they would change if the activation was really run.
23 The users/modules activation script supports this and outputs some of is actions.
2425+- KDE Plasma now finally works on Wayland.
26+27- bash now defaults to major version 5.
2829- Systemd was updated to version 249 (from 247).
···348 configuration file. For details, see the [upstream changelog](https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst).
349350- `opencv2` no longer includes the non-free libraries by default, and consequently `pfstools` no longer includes OpenCV support by default. Both packages now support an `enableUnfree` option to re-enable this functionality.
351+- `services.xserver.displayManager.defaultSession = "plasma5"` does not work anymore, instead use either `"plasma"` for the Plasma X11 session or `"plasmawayland"` for the Plasma Wayland sesison.
352353## Other Notable Changes {#sec-release-21.11-notable-changes}
354
···1-diff --git i/src/cpp/core/libclang/LibClang.cpp w/src/cpp/core/libclang/LibClang.cpp
2-index ec12a3a1ff..8c81b633ae 100644
3---- i/src/cpp/core/libclang/LibClang.cpp
4-+++ w/src/cpp/core/libclang/LibClang.cpp
5-@@ -54,7 +54,7 @@ std::vector<std::string> defaultCompileArgs(LibraryVersion version)
67 // we need to add in the associated libclang headers as
8 // they are not discovered / used by default during compilation
9-- FilePath llvmPath = s_libraryPath.parent().parent();
10+ FilePath llvmPath("@libclang@");
11 boost::format fmt("%1%/lib/clang/%2%/include");
12- fmt % llvmPath.absolutePath() % version.asString();
13 std::string includePath = fmt.str();
14-@@ -77,10 +77,7 @@ std::vector<std::string> systemClangVersions()
15- #elif defined(__unix__)
16- // default set of versions
17- clangVersions = {
00000000000000018- "/usr/lib/libclang.so",
19- "/usr/lib/llvm/libclang.so",
20- "/usr/lib64/libclang.so",
21- "/usr/lib64/llvm/libclang.so",
22-+ "@libclang.so@"
23- };
24-25- // iterate through the set of available 'llvm' directories
000000000000000000000
···1+diff --git a/src/cpp/core/libclang/LibClang.cpp b/src/cpp/core/libclang/LibClang.cpp
2+index 1186f3a..58e8cc7 100644
3+--- a/src/cpp/core/libclang/LibClang.cpp
4++++ b/src/cpp/core/libclang/LibClang.cpp
5+@@ -58,7 +58,7 @@ std::vector<std::string> defaultCompileArgs(LibraryVersion version)
67 // we need to add in the associated libclang headers as
8 // they are not discovered / used by default during compilation
9+- FilePath llvmPath = s_libraryPath.getParent().getParent();
10+ FilePath llvmPath("@libclang@");
11 boost::format fmt("%1%/lib/clang/%2%/include");
12+ fmt % llvmPath.getAbsolutePath() % version.asString();
13 std::string includePath = fmt.str();
14+@@ -70,46 +70,7 @@ std::vector<std::string> defaultCompileArgs(LibraryVersion version)
15+16+ std::vector<std::string> systemClangVersions()
17+ {
18+- std::vector<std::string> clangVersions;
19+-
20+-#if defined(__APPLE__)
21+- // NOTE: the version of libclang.dylib bundled with Xcode
22+- // doesn't seem to work well when loaded as a library
23+- // (there seems to be extra orchestration required to get
24+- // include paths set up; easier to just depend on command
25+- // line tools since we request their installation in other
26+- // contexts as well)
27+- clangVersions = {
28+- "/Library/Developer/CommandLineTools/usr/lib/libclang.dylib"
29+- };
30+-#elif defined(__unix__)
31+- // default set of versions
32+- clangVersions = {
33- "/usr/lib/libclang.so",
34- "/usr/lib/llvm/libclang.so",
35- "/usr/lib64/libclang.so",
36- "/usr/lib64/llvm/libclang.so",
37+- };
38+-
39+- // iterate through the set of available 'llvm' directories
40+- for (const char* prefix : {"/usr/lib", "/usr/lib64"})
41+- {
42+- FilePath prefixPath(prefix);
43+- if (!prefixPath.exists())
44+- continue;
45+-
46+- std::vector<FilePath> directories;
47+- Error error = prefixPath.getChildren(directories);
48+- if (error)
49+- LOG_ERROR(error);
50+-
51+- // generate a path for each 'llvm' directory
52+- for (const FilePath& path : directories)
53+- if (path.getFilename().find("llvm") == 0)
54+- clangVersions.push_back(path.completePath("lib/libclang.so.1").getAbsolutePath());
55+- }
56+-#endif
57+-
58++ std::vector<std::string> clangVersions = { "@libclang.so@" };
59+ return clangVersions;
60+ }
61+
···59 passthru = {
60 updateScript = gnome.updateScript {
61 packageName = pname;
62+ versionPolicy = "none"; # should be odd-unstable but we are tracking unstable versions for now
63 };
64 };
65
+4-4
pkgs/data/misc/hackage/pin.json
···1{
2- "commit": "ba457d86df5e8781485cf1b109f249ecf00ee4c6",
3- "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/ba457d86df5e8781485cf1b109f249ecf00ee4c6.tar.gz",
4- "sha256": "1h1qnllhdfp6n71b36jw8kaw7kani76z3mmbigrvy8cmkbvj2mdc",
5- "msg": "Update from Hackage at 2021-10-08T09:46:02Z"
6}
···1{
2+ "commit": "67f421ee170f4f161832c146be8ef87499ff0d37",
3+ "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/67f421ee170f4f161832c146be8ef87499ff0d37.tar.gz",
4+ "sha256": "0rzwh0iff4xn499vvzv960gmrd85z6amjbbsyhb5qcldcap5jpjs",
5+ "msg": "Update from Hackage at 2021-10-11T20:00:11Z"
6}
···64 name = "git-annex-${super.git-annex.version}-src";
65 url = "git://git-annex.branchable.com/";
66 rev = "refs/tags/" + super.git-annex.version;
67- sha256 = "1022ff2x9jvi2a0820lbgmmh54cxh1vbn0qfdwr50w7ggvjp88i6";
68 # delete android and Android directories which cause issues on
69 # darwin (case insensitive directory). Since we don't need them
70 # during the build process, we can delete it to prevent a hash
···19901991 # Needs Cabal >= 3.4
1992 chs-cabal = super.chs-cabal.override {
1993- Cabal = self.Cabal_3_6_1_0;
1994 };
19951996 # 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too.
···64 name = "git-annex-${super.git-annex.version}-src";
65 url = "git://git-annex.branchable.com/";
66 rev = "refs/tags/" + super.git-annex.version;
67+ sha256 = "1yn84q0iy81b2sczbf4gx8b56f9ghb9kgwjc0n7l5xn5lb2wqlqa";
68 # delete android and Android directories which cause issues on
69 # darwin (case insensitive directory). Since we don't need them
70 # during the build process, we can delete it to prevent a hash
···19901991 # Needs Cabal >= 3.4
1992 chs-cabal = super.chs-cabal.override {
1993+ Cabal = self.Cabal_3_6_2_0;
1994 };
19951996 # 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too.
···978 doCheck = with pkgs.stdenv; hostPlatform == buildPlatform
979 && buildPlatform.isx86;
980 };
981+982+ # procex relies on close_range which has been introduced in Linux 5.9,
983+ # the test suite seems to force the use of this feature (or the fallback
984+ # mechanism is broken), so we can't run the test suite on machines with a
985+ # Kernel < 5.9. To check for this, we use uname -r to obtain the Kernel
986+ # version and sort -V to compare against our minimum version. If the
987+ # Kernel turns out to be older, we disable the test suite.
988+ procex = overrideCabal super.procex (drv: {
989+ postConfigure = ''
990+ minimumKernel=5.9
991+ higherVersion=`printf "%s\n%s\n" "$minimumKernel" "$(uname -r)" | sort -rV | head -n1`
992+ if [[ "$higherVersion" = "$minimumKernel" ]]; then
993+ echo "Used Kernel doesn't support close_range, disabling tests"
994+ unset doCheck
995+ fi
996+ '' + (drv.postConfigure or "");
997+ });
998}
···26 passthru = {
27 updateScript = gnome.updateScript {
28 packageName = pname;
29+ versionPolicy = "none"; # Should be odd-unstable but stable version has not been released yet.
30 };
31 };
32
···23stdenv.mkDerivation rec {
4 pname = "directx-shader-compiler";
5- version = "1.5.2010";
67 # Put headers in dev, there are lot of them which aren't necessary for
8 # using the compiler binary.
···12 owner = "microsoft";
13 repo = "DirectXShaderCompiler";
14 rev = "v${version}";
15- sha256 = "0ccfy1bfp0cm0pq63ri4yl1sr3fdn1a526bsnakg4bl6z4fwrnnj";
16 # We rely on the side effect of leaving the .git directory here for the
17 # version-grabbing functionality of the build system.
18 fetchSubmodules = true;
···23stdenv.mkDerivation rec {
4 pname = "directx-shader-compiler";
5+ version = "1.6.2106";
67 # Put headers in dev, there are lot of them which aren't necessary for
8 # using the compiler binary.
···12 owner = "microsoft";
13 repo = "DirectXShaderCompiler";
14 rev = "v${version}";
15+ sha256 = "6kQgAESYiQ06LkiGTfDBYwd/ORLSm1W+BcO+OUp4yXY=";
16 # We rely on the side effect of leaving the .git directory here for the
17 # version-grabbing functionality of the build system.
18 fetchSubmodules = true;
+2-2
pkgs/tools/misc/ding-libs/default.nix
···5 version = "0.6.1";
67 src = fetchurl {
8- url = "https://fedorahosted.org/released/ding-libs/ding-libs-${version}.tar.gz";
9 sha256 = "1h97mx2jdv4caiz4r7y8rxfsq78fx0k4jjnfp7x2s7xqvqks66d3";
10 };
11···1617 meta = {
18 description = "'D is not GLib' utility libraries";
19- homepage = "https://fedorahosted.org/sssd/";
20 platforms = with lib.platforms; linux;
21 maintainers = with lib.maintainers; [ e-user ];
22 license = [ lib.licenses.gpl3 lib.licenses.lgpl3 ];
···5 version = "0.6.1";
67 src = fetchurl {
8+ url = "https://releases.pagure.org/SSSD/${pname}/${pname}-${version}.tar.gz";
9 sha256 = "1h97mx2jdv4caiz4r7y8rxfsq78fx0k4jjnfp7x2s7xqvqks66d3";
10 };
11···1617 meta = {
18 description = "'D is not GLib' utility libraries";
19+ homepage = "https://pagure.io/SSSD/ding-libs";
20 platforms = with lib.platforms; linux;
21 maintainers = with lib.maintainers; [ e-user ];
22 license = [ lib.licenses.gpl3 lib.licenses.lgpl3 ];
···5 version = "2.11";
67 src = fetchurl {
8- url = "https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-${version}.tar.bz2";
9 sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
10 };
1112 configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
1314 meta = with lib; {
15- homepage = "https://fedorahosted.org/tmpwatch/";
16 description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
17 license = licenses.gpl2;
18 maintainers = with maintainers; [ vlstill ];
···5 version = "2.11";
67 src = fetchurl {
8+ url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.bz2";
9 sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
10 };
1112 configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
1314 meta = with lib; {
15+ homepage = "https://pagure.io/tmpwatch";
16 description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
17 license = licenses.gpl2;
18 maintainers = with maintainers; [ vlstill ];
-74
pkgs/tools/networking/swec/default.nix
···1-{ fetchurl, lib, stdenv, makeWrapper, perlPackages }:
2-3-stdenv.mkDerivation rec {
4- pname = "swec";
5- version = "0.4";
6-7- src = fetchurl {
8- url = "http://files.zerodogg.org/swec/swec-${version}.tar.bz2";
9- sha256 = "1m3971z4z1wr0paggprfz0n8ng8vsnkc9m6s3bdplgyz7qjk6jwx";
10- };
11-12- nativeBuildInputs = [ makeWrapper ];
13- buildInputs = [ perlPackages.perl perlPackages.LWP perlPackages.URI perlPackages.HTMLParser ];
14- checkInputs = [ perlPackages.HTTPServerSimple perlPackages.Parent ];
15-16- configurePhase = ''
17- for i in swec tests/{runTests,testServer}
18- do
19- sed -i "$i" -e's|/usr/bin/perl|${perlPackages.perl}/bin/perl|g'
20- done
21- '';
22-23- dontBuild = true;
24-25- installPhase = ''
26- make install prefix="$out"
27-28- mkdir -p "$out/share/swec-${version}"
29- cp -v default.sdf "$out/share/swec-${version}"
30- sed -i "$out/bin/swec" -e"s|realpath(\$0)|'$out/share/swec-${version}/swec'|g"
31-32- wrapProgram "$out/bin/swec" \
33- --prefix PERL5LIB : ${with perlPackages; makePerlPath [ LWP URI HTMLParser ]}
34- '';
35-36- doCheck = true;
37- checkPhase = "make test";
38-39- meta = {
40- homepage = "https://random.zerodogg.org/swec/";
41-42- description = "Simple Web Error Checker (SWEC)";
43-44- longDescription =
45- '' SWEC (Simple Web Error Checker) is a program that automates testing
46- of dynamic websites. It parses each HTML file it finds for links,
47- and if those links are within the site specified (ie. local, not
48- external), it will check that page as well. In this respect it
49- works a lot like a crawler, in that it'll click on any link it finds
50- (more notes about this later).
51-52- In addition to parsing and locating links, it will also parse the
53- pages looking for known errors and report those (such as Mason or
54- PHP errors), and will report if a page can not be read (by either
55- returning a 404, 500 or similar).
56-57- Since you may often want SWEC to be logged in on your site, you have
58- to be careful. When logged in, SWEC will still click on all links
59- it finds, including things like 'join group' or 'delete account'
60- (though it has some magic trying to avoid the latter). Therefore it
61- is highly recommended that when you run SWEC as a logged-in user on
62- a site, use a test server, not the live one.
63-64- Running SWEC on a live site without being logged in as a user is
65- perfectly fine, it won't do anything a normal crawler wouldn't do
66- (well, not exactly true, SWEC will ignore robots.txt).
67- '';
68-69- license = lib.licenses.gpl3Plus;
70-71- maintainers = [ ];
72- platforms = lib.platforms.linux;
73- };
74-}
···897 stumpwm-git = throw "stumpwm-git has been broken for a long time and lispPackages.stumpwm follows Quicklisp that is close to git version"; # added 2021-05-09
898 surf-webkit2 = surf; # added 2017-04-02
899 sup = throw "sup was deprecated on 2019-09-10: abandoned by upstream";
0900 swfdec = throw "swfdec has been removed as broken and unmaintained."; # added 2020-08-23
901 swtpm-tpm2 = swtpm; # added 2021-02-26
902 syncthing-cli = syncthing; # added 2021-04-06
···897 stumpwm-git = throw "stumpwm-git has been broken for a long time and lispPackages.stumpwm follows Quicklisp that is close to git version"; # added 2021-05-09
898 surf-webkit2 = surf; # added 2017-04-02
899 sup = throw "sup was deprecated on 2019-09-10: abandoned by upstream";
900+ swec = throw "swec has been removed; broken and abandoned upstream."; # added 2021-10-14
901 swfdec = throw "swfdec has been removed as broken and unmaintained."; # added 2020-08-23
902 swtpm-tpm2 = swtpm; # added 2021-02-26
903 syncthing-cli = syncthing; # added 2021-04-06