diff options
| author | Allusive <[email protected]> | 2023-11-03 08:04:18 +1100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-03 08:04:18 +1100 |
| commit | d77b1608d919a610f8081f71453ff7d8ad5eeca3 (patch) | |
| tree | a9233949676d5cbf80a4ca376eee079314122414 /flake.nix | |
| parent | Create issue templates (diff) | |
| parent | Add flake.nix and .gitignore (diff) | |
| download | compfy-d77b1608d919a610f8081f71453ff7d8ad5eeca3.tar.xz compfy-d77b1608d919a610f8081f71453ff7d8ad5eeca3.zip | |
Merge pull request #20 from IogaMaster/flake
Add flake.nix
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..95cefcb --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + inputs = { + nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; + flake-utils.url = github:numtide/flake-utils; + }; + + outputs = { self, nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShell { + nativeBuildInputs = with pkgs; [ ]; + buildInputs = with pkgs; [ ]; + }; + + packages.default = pkgs.picom.overrideAttrs (old: { src = ./.; }); + } + ); +} |