aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAllusive <[email protected]>2023-11-03 08:04:18 +1100
committerGitHub <[email protected]>2023-11-03 08:04:18 +1100
commitd77b1608d919a610f8081f71453ff7d8ad5eeca3 (patch)
treea9233949676d5cbf80a4ca376eee079314122414 /flake.nix
parentCreate issue templates (diff)
parentAdd flake.nix and .gitignore (diff)
downloadcompfy-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.nix21
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 = ./.; });
+ }
+ );
+}