···12231223 </para>
12241224 </listitem>
12251225 </itemizedlist>
12261226+ <itemizedlist>
12271227+ <listitem>
12281228+ <para>
12291229+ For AMD GPUs, Vulkan can now be used by adding <literal>amdvlk</literal>
12301230+ to <literal>hardware.opengl.extraPackages</literal>.
12311231+ </para>
12321232+ </listitem>
12331233+ <listitem>
12341234+ <para>
12351235+ Similarly, still for AMD GPUs, the ROCm OpenCL stack can now be used by adding
12361236+ <literal>rocm-opencl-icd</literal> to
12371237+ <literal>hardware.opengl.extraPackages</literal>.
12381238+ </para>
12391239+ </listitem>
12401240+ </itemizedlist>
12261241 </section>
12271242</section>
···474474 )
475475 [dms wms]
476476 );
477477+478478+ # Make xsessions and wayland sessions installed at
479479+ # /run/current-system/sw/share as some programs
480480+ # have behavior that depends on them being installed
481481+ environment.systemPackages = [
482482+ cfg.displayManager.sessionData.desktops
483483+ ];
477484 };
478485479486 imports = [
···4040 # Avoid double wrapping Python programs.
4141 dontWrapQtApps = true;
42424343+ # TODO: A bug in python wrapper
4444+ # see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
4345 preFixup = ''
4444- # TODO: A bug in python wrapper
4545- # see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
4646 makeWrapperArgs="''${qtWrapperArgs[@]}"
4747 '';
48484949+ # Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
5050+ # so wrapPythonPrograms hook does not handle it automatically.
4951 postFixup = ''
5050- # Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
5151- # so wrapPythonPrograms hook does not handle it automatically.
5252 wrapPythonProgramsIn "$out/share/dupeguru" "$out $pythonPath"
5353 '';
5454···5858 license = licenses.bsd3;
5959 platforms = platforms.linux;
6060 maintainers = [ maintainers.novoxudonoser ];
6161+ broken = true; # mv: cannot stat '_block.cpython-38m*.so': No such file or directory
6162 };
6263}
+7-14
pkgs/applications/misc/electron-cash/default.nix
···3344python3Packages.buildPythonApplication rec {
55 pname = "electron-cash";
66- version = "4.1.0";
66+ version = "4.1.1";
7788 src = fetchFromGitHub {
99 owner = "Electron-Cash";
1010 repo = "Electron-Cash";
1111 rev = version;
1212- sha256 = "1ccfm6kkmbkvykfdzrisxvr0lx9kgq4l43ixk6v3xnvhnbfwz4s2";
1212+ sha256 = "1fllz2s20lg4hrppzmnlgjy9mrq7gaq66l2apb3vz1avzvsjw3gm";
1313 };
14141515 propagatedBuildInputs = with python3Packages; [
···36363737 nativeBuildInputs = [ wrapQtAppsHook ];
38383939- patches = [
4040- # Patch a failed test, this can be removed in next version
4141- (fetchpatch {
4242- url =
4343- "https://github.com/Electron-Cash/Electron-Cash/commit/1a9122d59be0c351b14c174a60880c2e927e6168.patch";
4444- sha256 = "0zw629ypn9jxb1y124s3dkbbf2q3wj1i97j16lzdxpjy3sk0p5hk";
4545- })
4646- ];
4747-4839 postPatch = ''
4940 substituteInPlace contrib/requirements/requirements.txt \
5041 --replace "qdarkstyle==2.6.8" "qdarkstyle<3"
···7061 # Electron Cash was unable to find the secp256k1 library on this system.
7162 # Elliptic curve cryptography operations will be performed in slow
7263 # Python-only mode.
7373- postFixup = ''
7474- wrapQtApp $out/bin/electron-cash \
7575- --prefix LD_LIBRARY_PATH : ${secp256k1}/lib
6464+ preFixup = ''
6565+ makeWrapperArgs+=("''${qtWrapperArgs[@]}")
6666+ makeWrapperArgs+=(
6767+ "--prefix" "LD_LIBRARY_PATH" ":" "${secp256k1}/lib"
6868+ )
7669 '';
77707871 doInstallCheck = true;
···11-A field trial currently enables the passthrough command decoder, which causes
22-gl_factory.cc to try kGLImplementationEGLANGLE first, which causes Chromium to fail
33-to load libGLESv2.so on NixOS. It somehow does not try kGLImplementationDesktopGL,
44-and so there is no GL support at all.
55-66-Revert to using the validating command decoder, which prevents gl_factory.cc
77-from touching allowed_impls, allowing it to successfully use kGLImplementationDesktopGL.
88-99-diff --git a/ui/gl/gl_utils.cc b/ui/gl/gl_utils.cc
1010-index 697cbed5fe2d..8419bdb21a2f 100644
1111---- a/ui/gl/gl_utils.cc
1212-+++ b/ui/gl/gl_utils.cc
1313-@@ -71,9 +71,10 @@ bool UsePassthroughCommandDecoder(const base::CommandLine* command_line) {
1414- } else if (switch_value == kCmdDecoderValidatingName) {
1515- return false;
1616- } else {
1717-- // Unrecognized or missing switch, use the default.
1818-- return base::FeatureList::IsEnabled(
1919-- features::kDefaultPassthroughCommandDecoder);
2020-+ // Ignore the field trial that enables it; disable it until
2121-+ // gl_factory.cc kGLImplementationEGLANGLE issues are sorted
2222-+ // out on NixOS.
2323-+ return false;
2424- }
2525- }
2626- }
···44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
77- version = "20200918.2";
77+ version = "20201001.2";
8899 src = fetchPypi {
1010 inherit pname version;
1111- sha256 = "1gmk5rbfyqanj30dinfphxrsji4l1yiya2p0ahybyjb9fbzz9cl4";
1111+ sha256 = "1wyac980d8j8bk4bzh9y3a5c4xqfn3062wj5m45kwsx1f5rfx26j";
1212 };
13131414 # no Python tests implemented