aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIogaMaster <[email protected]>2023-11-12 11:36:40 -0700
committerIogaMaster <[email protected]>2023-11-12 11:36:40 -0700
commit6e2cf365fcfc87bd7c790354b7eead19e6b1ad08 (patch)
tree7f3eba91bbb765f2ce07dbe1f8c558794370f3c8
parentUpdate README.md (diff)
downloadcompfy-6e2cf365fcfc87bd7c790354b7eead19e6b1ad08.tar.xz
compfy-6e2cf365fcfc87bd7c790354b7eead19e6b1ad08.zip
Improve flake structure and add pcre2
-rw-r--r--flake.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 8fcaebe..8fc4f26 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 {