blurhash-update/flake.nix

39 lines
847 B
Nix
Raw Normal View History

2024-02-17 20:54:09 +00:00
{
description = "blurhash-update";
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 {
nativeBuildInputs = [
cargo
2024-02-18 20:43:50 +00:00
cargo-flamegraph
2024-02-17 20:54:09 +00:00
cargo-outdated
2024-02-18 19:11:57 +00:00
cargo-show-asm
2024-02-17 20:54:09 +00:00
clippy
imagemagick
jq
2024-02-17 20:54:09 +00:00
rust-analyzer
rustc
rustfmt
stdenv.cc
taplo
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
});
}