From 34f99e0165f466281449c855bf6eb980981abe47 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Sat, 24 Aug 2024 21:28:39 +0200 Subject: [PATCH] chore: simplify flake --- flake.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/flake.nix b/flake.nix index ba61ae4..4514beb 100644 --- a/flake.nix +++ b/flake.nix @@ -12,27 +12,18 @@ }; outputs = - { - nixpkgs, - utils, - quickshell, - ... - }: + { nixpkgs, utils, ... }@inputs: utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; + quickshell = inputs.quickshell.packages.${system}.default; in { - devShell = pkgs.mkShell { - buildInputs = [ - quickshell.packages.${system}.default - pkgs.kdePackages.qtdeclarative - ]; - }; + devShell = pkgs.mkShell { buildInputs = [ quickshell ]; }; defaultPackage = import ./nix/package.nix { inherit (pkgs) stdenv; - quickshell = quickshell.packages.${system}.default; + inherit quickshell; }; } );