2023-03-23 02:59:37 +00:00
|
|
|
{
|
|
|
|
description = "background-jobs";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
packages.default = pkgs.hello;
|
|
|
|
|
|
|
|
devShell = with pkgs; mkShell {
|
2024-01-10 05:16:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cargo
|
|
|
|
cargo-outdated
|
|
|
|
clippy
|
|
|
|
diesel-cli
|
|
|
|
rust-analyzer
|
|
|
|
rustc
|
|
|
|
rustfmt
|
|
|
|
stdenv.cc
|
|
|
|
taplo
|
|
|
|
];
|
2023-03-23 02:59:37 +00:00
|
|
|
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|