From 0598021329403c722f84ba4f35b1a016197ce85d Mon Sep 17 00:00:00 2001 From: "Bryan A. S" Date: Sun, 23 May 2021 06:00:16 -0300 Subject: [PATCH 01/12] pgo-client: 4.6.2 -> 4.7.0 Signed-off-by: Bryan A. S --- .../applications/networking/cluster/pgo-client/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/pgo-client/default.nix b/pkgs/applications/networking/cluster/pgo-client/default.nix index 52c9c191218c..ec36d5f52acb 100644 --- a/pkgs/applications/networking/cluster/pgo-client/default.nix +++ b/pkgs/applications/networking/cluster/pgo-client/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "pgo-client"; - version = "4.6.2"; + version = "4.7.0"; src = fetchFromGitHub { owner = "CrunchyData"; repo = "postgres-operator"; rev = "v${version}"; - sha256 = "sha256-zPFsLKbuVq2wMjFsqjBGiatPBwGR/X6q3mj8o5BE+r0="; + sha256 = "sha256-WuKLQWq/Zr/eDaUq/HbydHMdtlCWmjM858PLX7hYba4="; }; - vendorSha256 = "sha256-DU1kc7YDQ+denj6tHVGt79s494aBFZ2KM7PVSn951KI="; + vendorSha256 = "sha256-m8b6Lh6it67A6cppdBDX4X0u7Kde4GQz9wln/TrHVwI="; subPackages = [ "cmd/pgo" ]; @@ -21,6 +21,5 @@ buildGoModule rec { changelog = "https://github.com/CrunchyData/postgres-operator/releases/tag/v${version}"; license = licenses.asl20; maintainers = [ maintainers.bryanasdev000 ]; - platforms = platforms.linux; }; } From 995d2d87c838c9bd81bb94cf2efea9ec08523353 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 25 May 2021 22:01:36 +0100 Subject: [PATCH 02/12] devpi-client: set __darwinAllowLocalNetworking allowing tests to pass on sandboxed darwin --- pkgs/development/tools/devpi-client/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/devpi-client/default.nix b/pkgs/development/tools/devpi-client/default.nix index 5bca87337714..11fa78f1f02e 100644 --- a/pkgs/development/tools/devpi-client/default.nix +++ b/pkgs/development/tools/devpi-client/default.nix @@ -49,6 +49,8 @@ buildPythonApplication rec { LC_ALL = "en_US.UTF-8"; + __darwinAllowLocalNetworking = true; + meta = with lib; { homepage = "http://doc.devpi.net"; description = "Client for devpi, a pypi index server and packaging meta tool"; From 46e66614d9db4e1c8b1b3058642da191a4a1b291 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 25 May 2021 22:01:46 +0100 Subject: [PATCH 03/12] devpi-server: set __darwinAllowLocalNetworking allowing tests to pass on sandboxed darwin --- pkgs/development/tools/devpi-server/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/devpi-server/default.nix b/pkgs/development/tools/devpi-server/default.nix index 8a484a23349c..b5ddda9f08b1 100644 --- a/pkgs/development/tools/devpi-server/default.nix +++ b/pkgs/development/tools/devpi-server/default.nix @@ -55,6 +55,8 @@ python3Packages.buildPythonApplication rec { "TestMirrorIndexThings" ]; + __darwinAllowLocalNetworking = true; + meta = with lib;{ homepage = "http://doc.devpi.net"; description = "Github-style pypi index server and packaging meta tool"; From 7f7262ce0f2c55a1a7ee84e1f080426adb47fe21 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 25 May 2021 23:55:34 +0200 Subject: [PATCH 04/12] snowcrash: init at unstable-2021-04-29 --- pkgs/tools/security/snowcrash/default.nix | 33 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/tools/security/snowcrash/default.nix diff --git a/pkgs/tools/security/snowcrash/default.nix b/pkgs/tools/security/snowcrash/default.nix new file mode 100644 index 000000000000..cd85ff90bf91 --- /dev/null +++ b/pkgs/tools/security/snowcrash/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "snowcrash"; + version = "unstable-2021-04-29"; + + src = fetchFromGitHub { + owner = "redcode-labs"; + repo = "SNOWCRASH"; + rev = "514cceea1ca82f44e0c8a8744280f3a16abb6745"; + sha256 = "16p1nfi9zdlcffjyrk1phrippjqrdzf3cpc51dgdy3bfr7pds2ld"; + }; + + vendorSha256 = "1xm2yjr4mqkara3yib6vgfj14ldh7r0v1vr2i0ks13l1rm54x840"; + + subPackages = [ "." ]; + + runVend = true; + + postFixup = '' + mv $out/bin/SNOWCRASH $out/bin/${pname} + ''; + + meta = with lib; { + description = "Polyglot payload generator"; + homepage = "https://github.com/redcode-labs/SNOWCRASH"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d186e8e27f08..303b37afb39a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17898,6 +17898,8 @@ in snow = callPackage ../tools/security/snow { }; + snowcrash = callPackage ../tools/security/snowcrash { }; + soapyairspy = callPackage ../applications/radio/soapyairspy { }; soapyaudio = callPackage ../applications/radio/soapyaudio { }; From 4ef1d33c7c9c154c1ba60718e8805150380d9f36 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 25 May 2021 23:59:21 +0100 Subject: [PATCH 05/12] python3Packages.xgboost: fix tests for darwin --- pkgs/development/python-modules/xgboost/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/xgboost/default.nix b/pkgs/development/python-modules/xgboost/default.nix index 4f02d72c9a18..1045b86a4441 100644 --- a/pkgs/development/python-modules/xgboost/default.nix +++ b/pkgs/development/python-modules/xgboost/default.nix @@ -1,4 +1,5 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , pytestCheckHook , cmake , scipy @@ -56,6 +57,11 @@ buildPythonPackage { disabledTests = [ "test_cli_binary_classification" "test_model_compatibility" + ] ++ lib.optionals stdenv.isDarwin [ + # fails to connect to the com.apple.fonts daemon in sandboxed mode + "test_plotting" + "test_sklearn_plotting" ]; + __darwinAllowLocalNetworking = true; } From df1bf616aea4a925a7432076ec93de5e4fd95fdc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 26 May 2021 02:33:12 +0200 Subject: [PATCH 06/12] home-assistant: disable flaky test in prometheus component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ______________________________ test_view[pyloop] _______________________________ [gw49] linux -- Python 3.8.9 /nix/store/7i305r9i4rsb1hmqwkdmphjf430niq3l-python3-3.8.9/bin/python3.8 hass = hass_client = .auth_client at 0xffff56a11ca0> async def test_view(hass, hass_client): """Test prometheus metrics view.""" client = await prometheus_client(hass, hass_client) resp = await client.get(prometheus.API_ENDPOINT) assert resp.status == 200 assert resp.headers["content-type"] == CONTENT_TYPE_TEXT_PLAIN body = await resp.text() body = body.split("\n") assert len(body) > 3 assert "# HELP python_info Python platform information" in body assert ( "# HELP python_gc_objects_collected_total " "Objects collected during gc" in body ) assert ( 'temperature_c{domain="sensor",' 'entity="sensor.outside_temperature",' 'friendly_name="Outside Temperature"} 15.6' in body ) assert ( 'battery_level_percent{domain="sensor",' 'entity="sensor.outside_temperature",' 'friendly_name="Outside Temperature"} 12.0' in body ) assert ( 'current_temperature_c{domain="climate",' 'entity="climate.heatpump",' 'friendly_name="HeatPump"} 25.0' in body ) > assert ( 'humidifier_target_humidity_percent{domain="humidifier",' 'entity="humidifier.humidifier",' 'friendly_name="Humidifier"} 68.0' in body ) E assert 'humidifier_target_humidity_percent{domain="humidifier",entity="humidifier.humidifier",friendly_name="Humidifier"} 68.0' in ['# HELP python_gc_objects_collected_total Objects collected during gc', '# TYPE python_gc_objects_collected_total cou...al{generation="2"} 175103.0', '# HELP python_gc_objects_uncollectable_total Uncollectable object found during GC', ...] tests/components/prometheus/test_init.py:130: AssertionError ---------------------------- Captured stderr setup ----------------------------- DEBUG:asyncio:Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:59 Using selector: EpollSelector ----------------------------- Captured stderr call ----------------------------- INFO:homeassistant.loader:Loaded prometheus from homeassistant.components.prometheus INFO:homeassistant.loader:Loaded http from homeassistant.components.http DEBUG:homeassistant.setup:Dependency prometheus will wait for dependencies ['http'] INFO:homeassistant.setup:Setting up http INFO:homeassistant.setup:Setup of domain http took 0.0 seconds DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setting up prometheus INFO:homeassistant.setup:Setup of domain prometheus took 0.0 seconds DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor INFO:homeassistant.loader:Loaded demo from homeassistant.components.demo INFO:homeassistant.setup:Setting up sensor INFO:homeassistant.setup:Setup of domain sensor took 0.0 seconds DEBUG:homeassistant.setup:Dependency demo will wait for dependencies ['conversation', 'zone', 'group'] DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation INFO:homeassistant.loader:Loaded zone from homeassistant.components.zone INFO:homeassistant.setup:Setting up conversation INFO:homeassistant.loader:Loaded group from homeassistant.components.group DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setup of domain conversation took 0.0 seconds INFO:homeassistant.loader:Loaded climate from homeassistant.components.climate INFO:homeassistant.setup:Setting up zone DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setting up group INFO:homeassistant.setup:Setting up climate DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setup of domain climate took 0.0 seconds DEBUG:homeassistant.setup:Dependency demo will wait for dependencies ['zone', 'group'] DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setup of domain group took 0.1 seconds DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.components.prometheus:Handling state update for zone.home INFO:homeassistant.setup:Setup of domain zone took 0.1 seconds DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setting up demo INFO:homeassistant.setup:Setup of domain demo took 0.0 seconds DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.components.sensor:Setting up sensor.demo INFO:homeassistant.components.climate:Setting up climate.demo INFO:homeassistant.helpers.entity_registry:Registered new sensor.demo entity: sensor.outside_temperature DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > INFO:homeassistant.helpers.entity_registry:Registered new sensor.demo entity: sensor.outside_humidity DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > INFO:homeassistant.helpers.entity_registry:Registered new sensor.demo entity: sensor.carbon_monoxide DEBUG:homeassistant.components.prometheus:Handling state update for sensor.outside_humidity DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > INFO:homeassistant.helpers.entity_registry:Registered new sensor.demo entity: sensor.carbon_dioxide DEBUG:homeassistant.components.prometheus:Handling state update for sensor.carbon_monoxide DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.components.prometheus:Handling state update for sensor.outside_temperature DEBUG:homeassistant.core:Bus:Handling > INFO:homeassistant.helpers.entity_registry:Registered new climate.demo entity: climate.heatpump DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.components.prometheus:Handling state update for sensor.carbon_dioxide DEBUG:homeassistant.components.prometheus:Handling state update for climate.heatpump INFO:homeassistant.helpers.entity_registry:Registered new climate.demo entity: climate.hvac DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > INFO:homeassistant.helpers.entity_registry:Registered new climate.demo entity: climate.ecobee DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.components.prometheus:Handling state update for climate.hvac DEBUG:homeassistant.components.prometheus:Handling state update for climate.ecobee INFO:homeassistant.loader:Loaded humidifier from homeassistant.components.humidifier INFO:homeassistant.setup:Setting up humidifier DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling INFO:homeassistant.setup:Setup of domain humidifier took 0.0 seconds INFO:homeassistant.components.humidifier:Setting up humidifier.demo DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.components.prometheus:Handling state update for sensor.television_energy DEBUG:homeassistant.components.prometheus:Handling state update for sensor.radio_energy DEBUG:homeassistant.components.prometheus:Handling state update for sensor.electricity_price DEBUG:homeassistant.components.prometheus:Handling state update for sensor.wind_direction DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.core:Bus:Handling > DEBUG:homeassistant.components.http.auth:Authenticated 127.0.0.1 for /api/prometheus using bearer token DEBUG:homeassistant.components.prometheus:Handling state update for sensor.sps30_pm_1um_weight_concentration DEBUG:homeassistant.components.http.view:Serving /api/prometheus to 127.0.0.1 (auth: True) DEBUG:homeassistant.components.prometheus:Handling state update for humidifier.hygrostat DEBUG:homeassistant.components.prometheus:Handling state update for humidifier.dehumidifier DEBUG:homeassistant.components.prometheus:Handling state update for humidifier.humidifier DEBUG:homeassistant.components.prometheus:Received Prometheus metrics request INFO:aiohttp.access:127.0.0.1 [12/May/2021:16:02:30 +0000] "GET /api/prometheus HTTP/1.1" 200 12216 "-" "Python/3.8 aiohttp/3.7.4.post0" ------------------------------ Captured log call ------------------------------- INFO homeassistant.loader:loader.py:344 Loaded prometheus from homeassistant.components.prometheus INFO homeassistant.loader:loader.py:344 Loaded http from homeassistant.components.http DEBUG homeassistant.setup:setup.py:130 Dependency prometheus will wait for dependencies ['http'] INFO homeassistant.setup:setup.py:217 Setting up http INFO homeassistant.setup:setup.py:265 Setup of domain http took 0.0 seconds DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:217 Setting up prometheus INFO homeassistant.setup:setup.py:265 Setup of domain prometheus took 0.0 seconds DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.loader:loader.py:344 Loaded sensor from homeassistant.components.sensor INFO homeassistant.loader:loader.py:344 Loaded demo from homeassistant.components.demo INFO homeassistant.setup:setup.py:217 Setting up sensor INFO homeassistant.setup:setup.py:265 Setup of domain sensor took 0.0 seconds DEBUG homeassistant.setup:setup.py:130 Dependency demo will wait for dependencies ['conversation', 'zone', 'group'] DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.loader:loader.py:344 Loaded conversation from homeassistant.components.conversation INFO homeassistant.loader:loader.py:344 Loaded zone from homeassistant.components.zone INFO homeassistant.setup:setup.py:217 Setting up conversation INFO homeassistant.loader:loader.py:344 Loaded group from homeassistant.components.group DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:265 Setup of domain conversation took 0.0 seconds INFO homeassistant.loader:loader.py:344 Loaded climate from homeassistant.components.climate INFO homeassistant.setup:setup.py:217 Setting up zone DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:217 Setting up group INFO homeassistant.setup:setup.py:217 Setting up climate DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:265 Setup of domain climate took 0.0 seconds DEBUG homeassistant.setup:setup.py:130 Dependency demo will wait for dependencies ['zone', 'group'] DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:265 Setup of domain group took 0.1 seconds DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for zone.home INFO homeassistant.setup:setup.py:265 Setup of domain zone took 0.1 seconds DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:217 Setting up demo INFO homeassistant.setup:setup.py:265 Setup of domain demo took 0.0 seconds DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.components.sensor:entity_platform.py:217 Setting up sensor.demo INFO homeassistant.components.climate:entity_platform.py:217 Setting up climate.demo INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new sensor.demo entity: sensor.outside_temperature DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new sensor.demo entity: sensor.outside_humidity DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new sensor.demo entity: sensor.carbon_monoxide DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.outside_humidity DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new sensor.demo entity: sensor.carbon_dioxide DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.carbon_monoxide DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.outside_temperature DEBUG homeassistant.core:core.py:709 Bus:Handling > INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new climate.demo entity: climate.heatpump DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.carbon_dioxide DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for climate.heatpump INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new climate.demo entity: climate.hvac DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > INFO homeassistant.helpers.entity_registry:entity_registry.py:297 Registered new climate.demo entity: climate.ecobee DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for climate.hvac DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for climate.ecobee INFO homeassistant.loader:loader.py:344 Loaded humidifier from homeassistant.components.humidifier INFO homeassistant.setup:setup.py:217 Setting up humidifier DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling INFO homeassistant.setup:setup.py:265 Setup of domain humidifier took 0.0 seconds INFO homeassistant.components.humidifier:entity_platform.py:217 Setting up humidifier.demo DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.television_energy DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.radio_energy DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.electricity_price DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.wind_direction DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.core:core.py:709 Bus:Handling > DEBUG homeassistant.components.http.auth:auth.py:127 Authenticated 127.0.0.1 for /api/prometheus using bearer token DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for sensor.sps30_pm_1um_weight_concentration DEBUG homeassistant.components.http.view:view.py:120 Serving /api/prometheus to 127.0.0.1 (auth: True) DEBUG homeassistant.components.prometheus:__init__.py:491 Received Prometheus metrics request DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for humidifier.hygrostat INFO aiohttp.access:web_log.py:206 127.0.0.1 [12/May/2021:16:02:30 +0000] "GET /api/prometheus HTTP/1.1" 200 12216 "-" "Python/3.8 aiohttp/3.7.4.post0" DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for humidifier.dehumidifier DEBUG homeassistant.components.prometheus:__init__.py:152 Handling state update for humidifier.humidifier --------------------------- Captured stderr teardown --------------------------- DEBUG:homeassistant.core:Bus:Handling DEBUG:homeassistant.core:Bus:Handling INFO:tests.common:Writing data to auth: {'version': 1, 'key': 'auth', 'data': {'users': [{'id': '7addd24334454b2fa200bec8bca48fb7', 'group_ids': ['system-admin'], 'is_owner': False, 'is_active': True, 'name': 'Mock User', 'system_generated': False}], 'groups': [{'id': 'system-admin', 'name': 'Administrators'}, {'id': 'system-users', 'name': 'Users'}, {'id': 'system-read-only', 'name': 'Read Only'}], 'credentials': [{'id': 'mock-credential-id', 'user_id': '7addd24334454b2fa200bec8bca48fb7', 'auth_provider_type': 'homeassistant', 'auth_provider_id': None, 'data': {'username': 'admin'}}], 'refresh_tokens': [{'id': '6c4c17c1d99848ef922f8e3d91e047e8', 'user_id': '7addd24334454b2fa200bec8bca48fb7', 'client_id': 'https://example.com/app', 'client_name': None, 'client_icon': None, 'token_type': 'normal', 'created_at': '2021-05-12T16:02:29.787536+00:00', 'access_token_expiration': 1800.0, 'token': 'f6360b0454c9a629a55879cf598e44469f96fb84ba590a4e1b54a096289b4fa65ab044f54d56ef38cfac698c26840e6025a67062ca3fc8bfa324093451bf12eb', 'jwt_key': 'e15fba373768d8be7a4c3b4055213e5fa6a9e443bcfe406e519b91f38cffc1fcf8463ffa86ec5b8824591f123f6f7059a4c15dcfcd30db3a673c3b9da4dd9dd3', 'last_used_at': '2021-05-12T16:02:29.787737+00:00', 'last_used_ip': None, 'credential_id': 'mock-credential-id', 'version': '2021.5.3'}]}} INFO:tests.common:Writing data to core.entity_registry: {'version': 1, 'key': 'core.entity_registry', 'data': {'entities': [{'entity_id': 'sensor.outside_temperature', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_1', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'temperature', 'unit_of_measurement': '°C', 'original_name': 'Outside Temperature', 'original_icon': None}, {'entity_id': 'sensor.outside_humidity', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_2', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'humidity', 'unit_of_measurement': '%', 'original_name': 'Outside Humidity', 'original_icon': None}, {'entity_id': 'sensor.carbon_monoxide', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_3', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'carbon_monoxide', 'unit_of_measurement': 'ppm', 'original_name': 'Carbon monoxide', 'original_icon': None}, {'entity_id': 'sensor.carbon_dioxide', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_4', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'carbon_dioxide', 'unit_of_measurement': 'ppm', 'original_name': 'Carbon dioxide', 'original_icon': None}, {'entity_id': 'climate.heatpump', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_1', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['heat', 'off'], 'min_temp': 7.0, 'max_temp': 35.0}, 'supported_features': 1, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'HeatPump', 'original_icon': None}, {'entity_id': 'climate.hvac', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_2', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['off', 'heat', 'cool', 'auto', 'dry', 'fan_only'], 'min_temp': 7, 'max_temp': 35, 'min_humidity': 30, 'max_humidity': 99, 'fan_modes': ['On Low', 'On High', 'Auto Low', 'Auto High', 'Off'], 'swing_modes': ['Auto', '1', '2', '3', 'Off']}, 'supported_features': 111, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'Hvac', 'original_icon': None}, {'entity_id': 'climate.ecobee', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_3', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['heat_cool', 'cool', 'heat'], 'min_temp': 7, 'max_temp': 35, 'fan_modes': ['On Low', 'On High', 'Auto Low', 'Auto High', 'Off'], 'preset_modes': ['home', 'eco'], 'swing_modes': ['Auto', '1', '2', '3', 'Off']}, 'supported_features': 58, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'Ecobee', 'original_icon': None}]}} DEBUG:homeassistant.core:Bus:Handling ---------------------------- Captured log teardown ----------------------------- DEBUG homeassistant.core:core.py:709 Bus:Handling DEBUG homeassistant.core:core.py:709 Bus:Handling INFO tests.common:common.py:1013 Writing data to auth: {'version': 1, 'key': 'auth', 'data': {'users': [{'id': '7addd24334454b2fa200bec8bca48fb7', 'group_ids': ['system-admin'], 'is_owner': False, 'is_active': True, 'name': 'Mock User', 'system_generated': False}], 'groups': [{'id': 'system-admin', 'name': 'Administrators'}, {'id': 'system-users', 'name': 'Users'}, {'id': 'system-read-only', 'name': 'Read Only'}], 'credentials': [{'id': 'mock-credential-id', 'user_id': '7addd24334454b2fa200bec8bca48fb7', 'auth_provider_type': 'homeassistant', 'auth_provider_id': None, 'data': {'username': 'admin'}}], 'refresh_tokens': [{'id': '6c4c17c1d99848ef922f8e3d91e047e8', 'user_id': '7addd24334454b2fa200bec8bca48fb7', 'client_id': 'https://example.com/app', 'client_name': None, 'client_icon': None, 'token_type': 'normal', 'created_at': '2021-05-12T16:02:29.787536+00:00', 'access_token_expiration': 1800.0, 'token': 'f6360b0454c9a629a55879cf598e44469f96fb84ba590a4e1b54a096289b4fa65ab044f54d56ef38cfac698c26840e6025a67062ca3fc8bfa324093451bf12eb', 'jwt_key': 'e15fba373768d8be7a4c3b4055213e5fa6a9e443bcfe406e519b91f38cffc1fcf8463ffa86ec5b8824591f123f6f7059a4c15dcfcd30db3a673c3b9da4dd9dd3', 'last_used_at': '2021-05-12T16:02:29.787737+00:00', 'last_used_ip': None, 'credential_id': 'mock-credential-id', 'version': '2021.5.3'}]}} INFO tests.common:common.py:1013 Writing data to core.entity_registry: {'version': 1, 'key': 'core.entity_registry', 'data': {'entities': [{'entity_id': 'sensor.outside_temperature', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_1', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'temperature', 'unit_of_measurement': '°C', 'original_name': 'Outside Temperature', 'original_icon': None}, {'entity_id': 'sensor.outside_humidity', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_2', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'humidity', 'unit_of_measurement': '%', 'original_name': 'Outside Humidity', 'original_icon': None}, {'entity_id': 'sensor.carbon_monoxide', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_3', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'carbon_monoxide', 'unit_of_measurement': 'ppm', 'original_name': 'Carbon monoxide', 'original_icon': None}, {'entity_id': 'sensor.carbon_dioxide', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'sensor_4', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': None, 'supported_features': 0, 'device_class': 'carbon_dioxide', 'unit_of_measurement': 'ppm', 'original_name': 'Carbon dioxide', 'original_icon': None}, {'entity_id': 'climate.heatpump', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_1', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['heat', 'off'], 'min_temp': 7.0, 'max_temp': 35.0}, 'supported_features': 1, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'HeatPump', 'original_icon': None}, {'entity_id': 'climate.hvac', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_2', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['off', 'heat', 'cool', 'auto', 'dry', 'fan_only'], 'min_temp': 7, 'max_temp': 35, 'min_humidity': 30, 'max_humidity': 99, 'fan_modes': ['On Low', 'On High', 'Auto Low', 'Auto High', 'Off'], 'swing_modes': ['Auto', '1', '2', '3', 'Off']}, 'supported_features': 111, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'Hvac', 'original_icon': None}, {'entity_id': 'climate.ecobee', 'config_entry_id': None, 'device_id': None, 'area_id': None, 'unique_id': 'climate_3', 'platform': 'demo', 'name': None, 'icon': None, 'disabled_by': None, 'capabilities': {'hvac_modes': ['heat_cool', 'cool', 'heat'], 'min_temp': 7, 'max_temp': 35, 'fan_modes': ['On Low', 'On High', 'Auto Low', 'Auto High', 'Off'], 'preset_modes': ['home', 'eco'], 'swing_modes': ['Auto', '1', '2', '3', 'Off']}, 'supported_features': 58, 'device_class': None, 'unit_of_measurement': None, 'original_name': 'Ecobee', 'original_icon': None}]}} DEBUG homeassistant.core:core.py:709 Bus:Handling --- pkgs/servers/home-assistant/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 0da020cc0f77..13413a840753 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -678,6 +678,8 @@ in with py.pkgs; buildPythonApplication rec { "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_sleeping_device_error" "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_sleeping_device_error" "--deselect tests/components/shelly/test_config_flow.py::test_zeroconf_require_auth" + # prometheus/test_init.py: Spurious AssertionError regarding humidifier_target_humidity_percent metric + "--deselect tests/components/prometheus/test_init.py::test_view" # tests are located in tests/ "tests" # dynamically add packages required for component tests From 60753cefb759a5f1cccb1bdd35c3898d8e4cb3fd Mon Sep 17 00:00:00 2001 From: Nicolas Dudebout Date: Tue, 25 May 2021 22:01:37 -0400 Subject: [PATCH 07/12] stlink: add withGUI option (#124017) --- .../development/tools/misc/stlink/default.nix | 24 ++++++++++++++++--- pkgs/top-level/all-packages.nix | 1 + 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/stlink/default.nix b/pkgs/development/tools/misc/stlink/default.nix index 5bad6493c49e..2fbb60a0ddcc 100644 --- a/pkgs/development/tools/misc/stlink/default.nix +++ b/pkgs/development/tools/misc/stlink/default.nix @@ -1,4 +1,13 @@ -{ lib, stdenv, fetchFromGitHub, cmake, libusb1 }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, libusb1 +, gtk3 +, pkg-config +, wrapGAppsHook +, withGUI ? false +}: let # The Darwin build of stlink explicitly refers to static libusb. @@ -18,8 +27,17 @@ in stdenv.mkDerivation rec { sha256 = "03xypffpbp4imrczbxmq69vgkr7mbp0ps9dk815br5wwlz6vgygl"; }; - buildInputs = [ libusb1' ]; - nativeBuildInputs = [ cmake ]; + buildInputs = [ + libusb1' + ] ++ lib.optionals withGUI [ + gtk3 + ]; + nativeBuildInputs = [ + cmake + ] ++ lib.optionals withGUI [ + pkg-config + wrapGAppsHook + ]; cmakeFlags = [ "-DSTLINK_MODPROBED_DIR=${placeholder "out"}/etc/modprobe.d" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e16fabaf5be7..5fc21e5ee37f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18055,6 +18055,7 @@ in stfl = callPackage ../development/libraries/stfl { }; stlink = callPackage ../development/tools/misc/stlink { }; + stlink-gui = callPackage ../development/tools/misc/stlink { withGUI = true; }; stegseek = callPackage ../tools/security/stegseek {}; From 69f5a9460c6fff30d1d445da39826c5d51905ee5 Mon Sep 17 00:00:00 2001 From: applePrincess Date: Wed, 26 May 2021 11:02:01 +0900 Subject: [PATCH 08/12] exploitdb: init at 2021-05-22 (#124209) Co-authored-by: Sandro --- pkgs/tools/security/exploitdb/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/security/exploitdb/default.nix diff --git a/pkgs/tools/security/exploitdb/default.nix b/pkgs/tools/security/exploitdb/default.nix new file mode 100644 index 000000000000..1c5a3fdd4734 --- /dev/null +++ b/pkgs/tools/security/exploitdb/default.nix @@ -0,0 +1,26 @@ +{stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "exploitdb"; + version = "2021-05-22"; + + src = fetchFromGitHub { + owner = "offensive-security"; + repo = pname; + rev = version; + sha256 = "sha256-cpzAdRAtF47j92u8GHyu6V1ycqtNld+9saCqoboAu+o="; + }; + + installPhase = '' + mkdir -p $out/bin + cp --recursive ./* $out/bin + cp ./.searchsploit_rc $out/bin + ''; + + meta = with lib; { + homepage = "https://github.com/offensive-security/exploitdb"; + description = "Archive of public exploits and corresponding vulnerable software"; + license = with licenses; [ gpl2Plus gpl3Plus mit ]; + maintainers = with maintainers; [ applePrincess ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5fc21e5ee37f..8230fb4161eb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23117,6 +23117,8 @@ in dynamips = callPackage ../applications/virtualization/dynamips { }; + exploitdb = callPackage ../tools/security/exploitdb { }; + evilwm = callPackage ../applications/window-managers/evilwm { patches = config.evilwm.patches or []; }; From 890e8a8e3369054573d371863388c658d395ab7e Mon Sep 17 00:00:00 2001 From: Chronos <34162313+netcrns@users.noreply.github.com> Date: Wed, 26 May 2021 04:07:33 +0200 Subject: [PATCH 09/12] postgresqlPackages.pg_rational: init at 0.0.2 (#124257) --- .../sql/postgresql/ext/pg_rational.nix | 39 +++++++++++++++++++ pkgs/servers/sql/postgresql/packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/servers/sql/postgresql/ext/pg_rational.nix diff --git a/pkgs/servers/sql/postgresql/ext/pg_rational.nix b/pkgs/servers/sql/postgresql/ext/pg_rational.nix new file mode 100644 index 000000000000..5cfd6240990f --- /dev/null +++ b/pkgs/servers/sql/postgresql/ext/pg_rational.nix @@ -0,0 +1,39 @@ +{ stdenv +, fetchFromGitHub +, lib +, postgresql +}: + +stdenv.mkDerivation rec { + pname = "pg_rational"; + version = "0.0.2"; + + src = fetchFromGitHub { + owner = "begriffs"; + repo = "pg_rational"; + rev = "v${version}"; + sha256 = "sha256-Sp5wuX2nP3KGyWw7MFa11rI1CPIKIWBt8nvBSsASIEw="; + }; + + buildInputs = [ postgresql ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/{lib,share/postgresql/extension} + + cp *.so $out/lib + cp *.sql $out/share/postgresql/extension + cp *.control $out/share/postgresql/extension + + runHook postInstall + ''; + + meta = with lib; { + description = "Precise fractional arithmetic for PostgreSQL"; + homepage = "https://github.com/begriffs/pg_rational"; + maintainers = with maintainers; [ netcrns ]; + platforms = postgresql.meta.platforms; + license = licenses.mit; + }; +} diff --git a/pkgs/servers/sql/postgresql/packages.nix b/pkgs/servers/sql/postgresql/packages.nix index 0c8f0e642a62..9cca7c8374bd 100644 --- a/pkgs/servers/sql/postgresql/packages.nix +++ b/pkgs/servers/sql/postgresql/packages.nix @@ -14,6 +14,8 @@ self: super: { pg_ed25519 = super.callPackage ./ext/pg_ed25519.nix { }; + pg_rational = super.callPackage ./ext/pg_rational.nix { }; + pg_repack = super.callPackage ./ext/pg_repack.nix { }; pg_similarity = super.callPackage ./ext/pg_similarity.nix { }; From e0a033538e18ce2791b149c6f5cd7deb8854768f Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 24 May 2021 20:46:50 +0000 Subject: [PATCH 10/12] mdbook: 0.4.7 -> 0.4.8 --- pkgs/tools/text/mdbook/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/mdbook/default.nix b/pkgs/tools/text/mdbook/default.nix index baa5f5988bfa..e841d0c5fb5e 100644 --- a/pkgs/tools/text/mdbook/default.nix +++ b/pkgs/tools/text/mdbook/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "mdbook"; - version = "0.4.7"; + version = "0.4.8"; src = fetchFromGitHub { owner = "rust-lang-nursery"; repo = "mdBook"; rev = "v${version}"; - sha256 = "sha256-51S4I1YIbdgXkhuT7KnhJe71nGCQmr9JmuGtp7Bcxqo="; + sha256 = "sha256-MdkKDjyePlu6nDyHM9qdhn+kFeXZnyfin+cIZkE+PRE="; }; - cargoSha256 = "sha256-4bYLrmyI7cPUes6DYREiIB9gDze0KO2jMP/jPzvWbwQ="; + cargoSha256 = "sha256-MaN0Zz1cQQvwA6rPJRqzI4Q8gniHKAsROLsc0tBpYYU="; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; From 4f6b97f2ac8c41a45b2672af6aac9dc48ec75f25 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 26 May 2021 05:02:50 +0200 Subject: [PATCH 11/12] .github/workflows/rebase.yml: update for 21.05 Adds three more valid branches to the rebase action. --- .github/workflows/rebase.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 50d066dd754f..47e8f4e4e420 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -41,7 +41,7 @@ jobs: - name: check branch env: PERMANENT_BRANCHES: "haskell-updates|master|nixos|nixpkgs|python-unstable|release|staging" - VALID_BRANCHES: "haskell-updates|master|python-unstable|release-20.09|staging|staging-20.09|staging-next" + VALID_BRANCHES: "haskell-updates|master|python-unstable|release-20.09|release-21.05|staging|staging-20.09|staging-21.05|staging-next|staging-next-21.05" run: | message() { cat < Date: Tue, 25 May 2021 13:22:50 -0700 Subject: [PATCH 12/12] discord: fix runtime linking --- .../networking/instant-messengers/discord/base.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/base.nix b/pkgs/applications/networking/instant-messengers/discord/base.nix index 841c979e97f9..a61ab254348b 100644 --- a/pkgs/applications/networking/instant-messengers/discord/base.nix +++ b/pkgs/applications/networking/instant-messengers/discord/base.nix @@ -23,7 +23,7 @@ in stdenv.mkDerivation rec { libXScrnSaver libXtst libxcb - mesa.drivers + mesa nss wrapGAppsHook ]; @@ -31,7 +31,7 @@ in stdenv.mkDerivation rec { dontWrapGApps = true; libPath = lib.makeLibraryPath [ - libcxx systemd libpulseaudio + libcxx systemd libpulseaudio libdrm mesa stdenv.cc.cc alsaLib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender @@ -50,7 +50,7 @@ in stdenv.mkDerivation rec { wrapProgram $out/opt/${binaryName}/${binaryName} \ "''${gappsWrapperArgs[@]}" \ --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ - --prefix LD_LIBRARY_PATH : ${libPath} + --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName} ln -s $out/opt/${binaryName}/${binaryName} $out/bin/ ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png