From 97525cd7fb3b83ef0907f94c44ad6796258d926a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 19 Sep 2026 09:10:53 +0000 Subject: [PATCH 1/2] fix: add imagemagick to Linux shell and commit flake.lock Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com> --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 000000000000..fe8d3b9fbdef --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1789640129, + "narHash": "sha256-RjR8AyvGlWuw16XRj7C1YDEw4E27ciuyPeB2nDMzgTU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a32edd7654519351e48e80372a928df336394670", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index 7ef8ca9a3665..38eadf8a2982 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,8 @@ pkg-config # browser-secret helper links against the host's libsecret. libsecret + # dist:desktop:linux resizes the app icon with magick/convert. + imagemagick ] ++ lib.optionals stdenv.isDarwin [ # clang toolchain for node-gyp on macOS. From e693ca14509ff692cc1031e1df0237bece523603 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 19 Sep 2026 09:17:51 +0000 Subject: [PATCH 2/2] fix: replace deprecated stdenv.isLinux/isDarwin with hostPlatform variants Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com> --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 38eadf8a2982..0e1902df9a48 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,7 @@ python3 gnumake ] - ++ lib.optionals stdenv.isLinux [ + ++ lib.optionals stdenv.hostPlatform.isLinux [ gcc pkg-config # browser-secret helper links against the host's libsecret. @@ -52,7 +52,7 @@ # dist:desktop:linux resizes the app icon with magick/convert. imagemagick ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # clang toolchain for node-gyp on macOS. clang ];