Commit graph

9 commits

Author SHA1 Message Date
Jacob Birkett
151102b7d7
flake: overlay: move packages to hyprlandPlugins namespace (#180)
* flake: inputs: follow hyprland/nixpkgs

The reason to do this instead of `inputs.hyprland.nixpkgs` or inheriting
that attribute is for the semantic meaning of having it in the
`flake.lock`. This makes it obvious that it can be overridden.

* flake: overlay: adopt nixpkgs hyprlandPlugins

I have introduced the `hyprlandPlugins` namespace to this flake's
default overlay. Derivations are moved there, in-line with Nixpkgs.

I recommend that other Hyprland plugin flake authors use the same
pattern:

```nix
overlays = {
  default = self.overlays.your-plugin-name;
  your-plugin-name = final: prev: {
    hyprlandPlugins = prev.hyprland-plugins or {} // {
      your-plugin-name = final.callPackage ./nix/default.nix {};
    };
  };
};
```

Your flake's packages output should also make use of this overlay via a
manual `nixpkgs` import, and inherit the outputs from
`pkgs.hyprlandPlugins`. This will ensure that the flake's dependency
graph is properly reflected in the derivation outputs.

* gitignore: add nix build results

* flake: inputs: update all
2024-06-11 16:05:05 +03:00
d716d12213 treewide: add CMake files
- Nix: switch everything to CMake
- simplify overlay
2024-05-05 16:36:13 +03:00
e70b46afd7
hyprexpo: add nix derivation & meson 2024-04-03 22:08:47 +03:00
Mihai Fufezan
34ade54e1b Nix: use mkHyprlandPlugin from nixpkgs 2024-03-13 00:08:22 +02:00
Mihai Fufezan
7b5b82f666
Nix: simplify building, add checks 2024-01-28 23:51:54 +02:00
Gabriel Fontes
61774e0987 nix: expose winwrap via flake 2023-11-26 03:49:00 +02:00
Mihai Fufezan
dbac311729
hyprtrails: add meson and nix 2023-11-06 13:16:01 +02:00
Mihai Fufezan
efd7a19069
nix: use gcc13Stdenv for plugins 2023-10-04 12:08:57 +03:00
Mihai Fufezan
b1b43e8108
Nix: init 2023-04-27 02:01:29 +03:00