diff options
| author | Allusive <[email protected]> | 2023-11-13 08:31:15 +1100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-13 08:31:15 +1100 |
| commit | 05bb2cd3e054b1e22a3b511ce7a5678e8f12017b (patch) | |
| tree | 7f3eba91bbb765f2ce07dbe1f8c558794370f3c8 | |
| parent | Update README.md (diff) | |
| parent | Improve flake structure and add pcre2 (diff) | |
| download | compfy-05bb2cd3e054b1e22a3b511ce7a5678e8f12017b.tar.xz compfy-05bb2cd3e054b1e22a3b511ce7a5678e8f12017b.zip | |
Merge pull request #32 from IogaMaster/improved-flake
Improve flake structure and add pcre2
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -13,15 +13,18 @@ flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; + nativeBuildInputs = with pkgs; []; + buildInputs = with pkgs; [pcre2]; in { - devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; []; - buildInputs = with pkgs; []; - }; + devShells.default = pkgs.mkShell {inherit nativeBuildInputs buildInputs;}; packages = rec { default = picom-allusive; - picom-allusive = pkgs.picom.overrideAttrs (_old: {src = ./.;}); + picom-allusive = pkgs.picom.overrideAttrs (_old: { + src = ./.; + buildInputs = buildInputs ++ _old.buildInputs; + nativeBuildInputs = nativeBuildInputs ++ _old.nativeBuildInputs; + }); }; overlays = rec { |