Change:
Running results in the following error message showing up: which roughly translates to: Run , e.g. via . App should run without causing error that prevents usage. See previous issue & . The runtime error is probably related to:
I'm sorry for the delay, but I did't have much free time lately. I could bisect the issue back to , which adds the file to NixOS. Digging into the node module used to handle the OS detection () reveals that in fact this file is preferred over the binary, which renders the fake data workaround ineffective. I will open a PR soon to fix this.

Discussion:
{ lib , stdenv <del> , alsa-lib , at-spi2-atk , at-spi2-core , atk , autoPatchelfHook , cairo , cups , dbus , dpkg , expat </del> , fetchurl <del> , gdk-pixbuf , glib , gtk3 , libdrm , libxkbcommon </del> <ins> , dpkg , electron_16 </ins> , makeWrapper <del> , mesa </del> , nixosTests <del> , nspr , nss , pango , pciutils , systemd </del> <ins> , nodePackages </ins> , undmg <del> , writeShellScriptBin , xorg </del> }: let

version = "3.1.0"; <del> # At first start, the program checks for supported operating systems by calling `lsb_release -a` # and only runs when it finds Debian/Ubuntu. So we present us as Debian an make it happy. fake-lsb-release = writeShellScriptBin "lsb_release" '' echo "Distributor ID: Debian" echo "Description:    Debian GNU/Linux 10 (buster)" echo "Release:        10" echo "Codename:       buster" ''; binPath = lib.makeBinPath [ fake-lsb-release ]; </del> systemArgs = rec { x86_64-linux = rec { src = fetchurl {

sha256 = "sha256-jSP+H9ej9Wd+swBZSy9uMi2ExSTZ191FGZhqaocTl7w="; }; <del> dontUnpack = true; </del> nativeBuildInputs = [ <del> autoPatchelfHook </del> dpkg makeWrapper <ins> nodePackages.asar </ins> ]; <del> buildInputs = runtimeDependencies; runtimeDependencies = [ alsa-lib at-spi2-atk at-spi2-core atk cairo cups dbus expat gdk-pixbuf glib gtk3 libdrm libxkbcommon mesa nspr nss pango pciutils systemd xorg.libX11 xorg.libXcomposite xorg.libXdamage xorg.libXext xorg.libXfixes xorg.libXrandr xorg.libxcb xorg.libxshmfence ]; </del> <ins> unpackPhase = "dpkg-deb -x $src ."; </ins> installPhase = '' <del> dpkg-deb -x $src $out </del> mkdir -p $out/bin <del> chmod -R g-w $out addAutoPatchelfSearchPath --no-recurse $out/opt/Breitbandmessung autoPatchelfFile $out/opt/Breitbandmessung/breitbandmessung makeWrapper $out/opt/Breitbandmessung/breitbandmessung $out/bin/breitbandmessung  --prefix PATH : ${binPath} mv $out/usr/share $out/share rmdir $out/usr </del> <ins> mv usr/share $out/share mkdir -p $out/share/breitbandmessung/resources asar e opt/Breitbandmessung/resources/app.asar $out/share/breitbandmessung/resources # At first start, the program checks for supported operating systems by using the `bizzby-lsb-release` # module and only runs when it finds Debian/Ubuntu. So we present us as Debian and make it happy. cat <<EOF > $out/share/breitbandmessung/resources/node_modules/bizzby-lsb-release/lib/lsb-release.js module.exports = function release() { return { distributorID: "Debian", description: "Debian GNU/Linux 10 (buster)", release: "10", codename: "buster" } } EOF makeWrapper ${electron_16}/bin/electron $out/bin/breitbandmessung  --add-flags $out/share/breitbandmessung/resources/build/electron.js </ins> # Fix the desktop link substituteInPlace $out/share/applications/breitbandmessung.desktop  --replace /opt/Breitbandmessung $out/bin ''; <del> dontAutoPatchelf = true; dontPatchELF = true; </del> }; x86_64-darwin = {