From bff3c5c4782008ac46982b37ade3d897c3d184be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 23 Oct 2022 01:17:10 +0200 Subject: [PATCH 1/2] python310Packages.playwright: fix path to firefox --- pkgs/development/python-modules/playwright/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix index d9adb09e0db1..eff758b10a81 100644 --- a/pkgs/development/python-modules/playwright/default.nix +++ b/pkgs/development/python-modules/playwright/default.nix @@ -126,8 +126,8 @@ let --set FONTCONFIG_FILE ${fontconfig} '' + lib.optionalString withFirefox '' FIREFOX_REVISION=$(jq -r '.browsers[] | select(.name == "firefox").revision' $BROWSERS_JSON) - mkdir -p $out/firefox-$FIREFOX_REVISION - ln -s ${firefox}/bin/firefox $out/firefox-$FIREFOX_REVISION/firefox + mkdir -p $out/firefox-$FIREFOX_REVISION/firefox + ln -s ${firefox}/bin/firefox $out/firefox-$FIREFOX_REVISION/firefox/firefox '' + '' FFMPEG_REVISION=$(jq -r '.browsers[] | select(.name == "ffmpeg").revision' $BROWSERS_JSON) mkdir -p $out/ffmpeg-$FFMPEG_REVISION From d0bf6d9d630fa40f84bec9dc2047761d66116863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 23 Oct 2022 16:54:32 +0200 Subject: [PATCH 2/2] python310Packages.playwright.drivers: fix mac hash --- pkgs/development/python-modules/playwright/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix index eff758b10a81..66a249a3d351 100644 --- a/pkgs/development/python-modules/playwright/default.nix +++ b/pkgs/development/python-modules/playwright/default.nix @@ -43,7 +43,7 @@ let sha256 = { x86_64-linux = "0x71b4kb8hlyacixipgfbgjgrbmhckxpbmrs2xk8iis7n5kg7539"; aarch64-linux = "125lih7g2gj91k7j196wy5a5746wyfr8idj3ng369yh5wl7lfcfv"; - x86_64-darwin = "sha256-TzprR95KHYBu9SruI4BgwCaqI7KKe3HuzgCO1A5YFiM="; + x86_64-darwin = "0z2kww4iby1izkwn6z2ai94y87bkjvwak8awdmjm8sgg00pa9l1a"; aarch64-darwin = "0qajh4ac5lr1sznb2c471r5c5g2r0dk2pyqz8vhvnbk36r524h1h"; }.${system} or throwSystem; };