diff --git a/flake.nix b/flake.nix index 3884160418be..7651ead65fa6 100644 --- a/flake.nix +++ b/flake.nix @@ -44,14 +44,14 @@ python3 gnumake ] - ++ lib.optionals stdenv.isLinux [ + ++ lib.optionals stdenv.hostPlatform.isLinux [ gcc pkg-config # browser-secret helper links against the host's libsecret. libsecret imagemagick ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # clang toolchain for node-gyp on macOS. clang ];