Commit Graph

14 Commits

Author SHA1 Message Date
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