aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllusive <[email protected]>2023-11-13 08:31:15 +1100
committerGitHub <[email protected]>2023-11-13 08:31:15 +1100
commit05bb2cd3e054b1e22a3b511ce7a5678e8f12017b (patch)
tree7f3eba91bbb765f2ce07dbe1f8c558794370f3c8
parentUpdate README.md (diff)
parentImprove flake structure and add pcre2 (diff)
downloadcompfy-05bb2cd3e054b1e22a3b511ce7a5678e8f12017b.tar.xz
compfy-05bb2cd3e054b1e22a3b511ce7a5678e8f12017b.zip
Merge pull request #32 from IogaMaster/improved-flake
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 {