diff --git a/flake.nix b/flake.nix index fcd9e5c..dfe7396 100644 --- a/flake.nix +++ b/flake.nix @@ -247,11 +247,11 @@ x86_64-linux.default = let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - in (import ./shell.nix {inherit pkgs git-hooks;}); + in (import ./shell.nix {inherit inputs pkgs git-hooks;}); aarch64-linux.default = let system = "aarch64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - in (import ./shell.nix {inherit pkgs git-hooks;}); + in (import ./shell.nix {inherit inputs pkgs git-hooks;}); }; }; } diff --git a/shell.nix b/shell.nix index cef30eb..6bcf6bd 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,7 @@ { pkgs ? import {}, git-hooks, + inputs, ... }: let git-check = git-hooks.lib.${pkgs.stdenv.hostPlatform.system}.run { @@ -16,6 +17,11 @@ }; in pkgs.mkShell { - buildInputs = with pkgs; [alejandra nixd]; + buildInputs = with pkgs; [ + alejandra + nixd + inputs.deploy-rs.packages.${stdenv.hostPlatform.system}.default + ]; + inherit (git-check) shellHook; }