Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(nix): refresh npmDepsHash, and format the new packaging test

EtienneLescotfec5a2b6b8a3
diff --git a/nix/package.nix b/nix/package.nix
index b046e5422..02e9eb10a 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -51,7 +51,7 @@ buildNpmPackage {
);
};
- npmDepsHash = "sha256-mnI1d8HyZdaCiYolAd8VvBSlSdEsZT89Rf0ADVm9Bf8=";
+ npmDepsHash = "sha256-LkKX1edTPHZq5nQRrbLAn11oVw36kb0smNQMmVRMEPA=";
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
diff --git a/scripts/ffmpeg-linked-libraries.test.mjs b/scripts/ffmpeg-linked-libraries.test.mjs
index 2ba9b656f..49e0bd0d3 100644
--- a/scripts/ffmpeg-linked-libraries.test.mjs
+++ b/scripts/ffmpeg-linked-libraries.test.mjs
@@ -64,7 +64,10 @@ describe("the ffmpeg libraries the compositor links", () => {
it("is staged and symbol-renamed for the Linux addon", () => {
const source = read("scripts/build-linux-compositor-addon.mjs");
const table = source.match(/FFMPEG_SONAMES = \[([\s\S]*?)\]/);
- expect(table, "build-linux-compositor-addon.mjs no longer declares FFMPEG_SONAMES").not.toBeNull();
+ expect(
+ table,
+ "build-linux-compositor-addon.mjs no longer declares FFMPEG_SONAMES",
+ ).not.toBeNull();
const sonames = [...table[1].matchAll(/"lib([a-z]+)\.so\.\d+"/g)].map((match) => match[1]);
expect([...sonames].sort()).toEqual([...linked].sort());
});