feat: add inputs.

This commit is contained in:
CronyAkatsuki 2026-03-02 13:23:14 +01:00
parent a51d78d975
commit b2418c983b
2 changed files with 9 additions and 3 deletions

View file

@ -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;});
};
};
}

View file

@ -1,6 +1,7 @@
{
pkgs ? import <nixpkgs> {},
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;
}