diff options
| author | Allusive <[email protected]> | 2023-11-03 08:33:59 +1100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-03 08:33:59 +1100 |
| commit | c2c32435e06fa65c843b175231d35ad425b4f670 (patch) | |
| tree | 1f0b2ca98ee89d22f3cfec148d996e7dca962213 | |
| parent | Merge pull request #21 from IogaMaster/flake (diff) | |
| parent | flake: Add overlay make package output picom-allusive and default (diff) | |
| download | compfy-c2c32435e06fa65c843b175231d35ad425b4f670.tar.xz compfy-c2c32435e06fa65c843b175231d35ad425b4f670.zip | |
Merge pull request #22 from IogaMaster/flake
flake: Add overlay make package output picom-allusive and default
| -rw-r--r-- | flake.lock | 61 | ||||
| -rw-r--r-- | flake.nix | 28 |
2 files changed, 81 insertions, 8 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..7c62ada --- /dev/null +++ b/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1694529238, + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1698890957, + "narHash": "sha256-DJ+SppjpPBoJr0Aro9TAcP3sxApCSieY6BYBCoWGUX8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "c082856b850ec60cda9f0a0db2bc7bd8900d708c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} @@ -4,18 +4,30 @@ flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, flake-utils, ... }: - flake-utils.lib.eachDefaultSystem (system: - let + outputs = { + self, + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachDefaultSystem ( + system: let pkgs = nixpkgs.legacyPackages.${system}; - in - { + in { devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ ]; - buildInputs = with pkgs; [ ]; + nativeBuildInputs = with pkgs; []; + buildInputs = with pkgs; []; }; - packages.default = pkgs.picom.overrideAttrs (old: { src = ./.; }); + packages = rec { + default = picom-allusive; + picom-allusive = pkgs.picom.overrideAttrs (_old: {src = ./.;}); + }; + + overlays = rec { + default = picom-allusive; + picom-allusive = self.packages.default; + }; } ); } |