mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 21:37:55 +08:00
18 lines
340 B
Nix
18 lines
340 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
inherit (pkgs) lib;
|
|
|
|
fenix = import (fetchTarball "https://github.com/soywod/fenix/archive/main.tar.gz") { };
|
|
mkToolchain = import ./rust-toolchain.nix { inherit lib fenix; };
|
|
rust = mkToolchain.fromFile;
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
nixd
|
|
nixpkgs-fmt
|
|
rust
|
|
];
|
|
}
|