Commit Graph

27 Commits

Author SHA1 Message Date
2939358499 Ping doom-modeline to commit ce9899f00af40edb78f58b9af5c3685d67c8eed2 2022-10-25 20:27:34 +01:00
36bce3735b Pin doom-emacs to commit 3853dff5e11655e858d0bfae64b70cb12ef685ac 2022-10-25 20:21:57 +01:00
0f8bbe01f7 Move checks to its own file 2022-07-10 19:48:51 +01:00
9111d480a8 Use --init-directory in Emacs 29+ (#191)
* Use `--init-directory` in Emacs 29+

This will allow a few advantages:
- We can load `early-init.el` file properly, fixing Flash Of Unstyled
Contents (FOUC) issues and improving the performance slightly
- Eventually we can drop `default.el` file loading in Home-Manager
module. Not done here since this would complicate the code without
necessity, however this can be done once Emacs 29+ is default

* Fix build in Emacs <29

* Add #checks.<arch>.init-example-el-emacsGit

* Add .#checks.x86_64-linux.init-example-el-emacsGit to CI

* Fix review issues

* Move config files to share/emacs.d

* Separate tests in two steps

* Add TODOS

* Simplify emacs-dir generation
2022-07-10 20:46:49 +03:00
40a0b29745 Add ts-fold, needed by tree-sitter+fold 2022-07-08 23:15:25 +01:00
744cfb8a1d Remove flake-compat-helper.nix 2022-07-08 16:26:18 +01:00
6d58d82303 Merge pull request #192 from thiagokokada/trying-to-fix-ci
Trying to fix CI
2022-07-07 21:43:51 +01:00
150d2cda3c Update org-contrib URL
Upstream eventually changed to the GitHub mirror:
20b74b7951

We should do the same.
2022-07-07 21:24:55 +01:00
920c99e161 Add hlissner/{evil-escape,ws-butler} to flake
Those repositories are more up-to-date them upstream, and should include
a few fixes.
2022-07-05 22:39:09 +03:00
3e7d2ab47d Merge pull request #190 from nix-community/sln-mode
Add `sln-mode` flake input
2022-07-05 13:57:19 -04:00
9620980115 update git references from hlissner repos to doomemacs org 2022-06-12 21:33:38 +03:00
edbe868dd5 flake.nix: add aarch64-darwin for checks 2022-05-10 12:36:49 +03:00
eae902034b flake: add sln-mode input 2022-04-15 23:03:21 -04:00
505182141d flake.{nix,lock}: switch over to master branch 2022-02-15 05:05:53 +02:00
19b494b62d flake.nix: run nixfmt 2022-01-01 04:48:36 +02:00
3ab0c7e69d flake: use package attribute in checks 2021-12-22 02:40:20 +02:00
c67cefcb80 flake: add package attribute
It could be used like this:
```nix
{
  inputs = {
    nix-doom-emacs.url = "github:vlaci/nix-doom-emacs";
  };

  outputs =
    { nixpkgs, nix-doom-emacs
    , ...
    }: {
      nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          ({ pkgs, ... }: {
            boot.isContainer = true;
            environment.systemPackages =
              let
                doom-emacs = nix-doom-emacs.package.${system} { doomPrivateDir = ./doom.d; };
              in
              [
                doom-emacs
              ];
          })
        ];
      };
    };
}
```

See documentation in `default.nix` to see what can be passed here
2021-12-22 02:34:26 +02:00
9bf739f4a7 flake: update nix-straight reference for nativeComp fix 2021-12-11 01:53:08 +02:00
5497709d8b add format-all override to fix +format module
Doom uses an older version of format-all[1] before breaking changes were
made upstream. We need to also use this version to not have a broken experience.

[1] https://github.com/hlissner/doom-emacs/blob/develop/modules/editor/format/packages.el#L4
2021-12-10 17:27:12 +02:00
0cb69d4c20 update references: vlaci → nix-community 2021-12-10 15:13:33 +02:00
b9bfa3cedb org: package renamed, org-contrib added
See 9811756e80
2021-07-27 15:36:40 +02:00
201e023c67 Updating straight.el version used
The new straight version won't unhelpfully override `(org-version)` and
`(org-revision)` with with its custom implementation that only work in a
git repository. This change will make `elfeed` package work again.
(Setting `straight-fix-org` to `nil` would have also resolved the issue)

The updated `straight.el` version also plays along better with emacsGcc.

Relates-to: vlaci/nix-straight.el#2
Fixes: #158
2021-05-21 00:15:09 +02:00
5ee8044b04 github actions: niv -> flakes
Use flake.nix/lock as a single source of truth for resolving
dependencies

NOTE: this patch implies a dependency update as well.
2021-01-23 17:15:48 +01:00
460e96f89d github actions: test build from flake 2021-01-23 17:08:15 +01:00
44dd899fce flake: rename inputs to prevent errors on update
If input name contains `.` character then `invalid flake input path
element` error message is displayed on running `nix flake update
--update-input x.y`
2021-01-23 17:08:15 +01:00
9bebee33af work around #62 2020-11-01 09:51:49 +01:00
dd6819f0e0 wip: flake support 2020-11-01 09:51:49 +01:00