diff options
| author | IogaMaster <[email protected]> | 2023-11-12 11:36:40 -0700 |
|---|---|---|
| committer | IogaMaster <[email protected]> | 2023-11-12 11:36:40 -0700 |
| commit | 6e2cf365fcfc87bd7c790354b7eead19e6b1ad08 (patch) | |
| tree | 7f3eba91bbb765f2ce07dbe1f8c558794370f3c8 | |
| parent | Update README.md (diff) | |
| download | compfy-6e2cf365fcfc87bd7c790354b7eead19e6b1ad08.tar.xz compfy-6e2cf365fcfc87bd7c790354b7eead19e6b1ad08.zip | |
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 { |