This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mdparser/flake.nix

39 lines
840 B
Nix
Raw Normal View History

2024-03-18 13:39:50 -03:00
{
description = "learning.rs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils";
};
2024-04-24 15:15:57 -03:00
outputs = {
self,
nixpkgs,
flake-utils,
rust-overlay,
}:
flake-utils.lib.eachDefaultSystem (system: let
overlays = [(import rust-overlay)];
pkgs = import nixpkgs {
inherit system overlays;
};
in {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
openssl
pkg-config
eza
fd
(rust-bin.stable.latest.default.override {
extensions = ["rust-src"];
})
rust-analyzer
jq
vhs
ffmpeg
ttyd
glow
];
};
});
2024-03-18 13:39:50 -03:00
}