2
1
Fork 0
quickshell-docs/shell.nix
2024-02-12 04:07:01 -08:00

23 lines
470 B
Nix

{ pkgs ? import <nixpkgs> {} }: let
# rustfmt unstable
fenix = import (pkgs.fetchFromGitHub {
owner = "nix-community";
repo = "fenix";
rev = "3776d0e2a30184cc6a0ba20fb86dc6df5b41fccd";
sha256 = "K8QDx8UgbvGdENuvPvcsCXcd8brd55OkRDFLBT7xUVY=";
}) {};
rust-toolchain = fenix.complete.withComponents [
"cargo"
"rustc"
"clippy"
"rustfmt"
];
in pkgs.mkShell {
buildInputs = with pkgs; [
just
hugo
rust-toolchain
];
}