update everything
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
Some checks are pending
Build Multiarch Container Image / call-reusable-workflow (push) Waiting to run
This commit is contained in:
parent
033a3e2c72
commit
1c95f4391f
11 changed files with 1162 additions and 572 deletions
19
flake.nix
19
flake.nix
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
description = "little-hesinde project";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
@ -17,15 +16,21 @@
|
|||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
rust = fenix.packages.${system}.stable;
|
||||
fx = fenix.packages.${system};
|
||||
rust = fx.combine [
|
||||
(fx.fromToolchainFile {
|
||||
file = ./rust-toolchain.toml;
|
||||
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
|
||||
})
|
||||
];
|
||||
buildInputs = [
|
||||
rust
|
||||
pkgs.cargo-deny
|
||||
];
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
rust.toolchain
|
||||
pkgs.cargo-deny
|
||||
pkgs.rust-analyzer
|
||||
];
|
||||
buildInputs = buildInputs;
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue