feat: add inputs.
This commit is contained in:
parent
a51d78d975
commit
b2418c983b
2 changed files with 9 additions and 3 deletions
|
|
@ -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;});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue