From 0119d6eab9ce35d32eccbaa30655f02f8d02c025 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 17 Nov 2024 10:29:05 -0500 Subject: [PATCH] ci: Disable `nix flake check` --- flake.nix | 7 +++++++ modules/home/all/emacs.nix | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 3c93fda..4bba491 100644 --- a/flake.nix +++ b/flake.nix @@ -55,5 +55,12 @@ config.allowUnfree = true; }; }; + + # https://omnix.page/om/ci.html + flake.om.ci.default.ROOT = { + dir = "."; + steps.flake-check.enable = false; # Doesn't make sense to check nixos config on darwin! + steps.custom = { }; + }; }; } diff --git a/modules/home/all/emacs.nix b/modules/home/all/emacs.nix index 4253e36..d93b2cb 100644 --- a/modules/home/all/emacs.nix +++ b/modules/home/all/emacs.nix @@ -1,4 +1,4 @@ -{ flake, pkgs, ... }: +{ flake, pkgs, lib, ... }: let inherit (flake) inputs; @@ -19,8 +19,8 @@ in emacs = pkgs.emacs30-pgtk; doomDir = self + /doom.d; experimentalFetchTree = true; # Disable if there are fetcher issues - extraPackages = epkgs: with epkgs; [ + extraPackages = lib.optionals pkgs.stdenv.isLinux (epkgs: with epkgs; [ vterm - ]; + ]); }; }