chore: format flake.nix

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-04-24 15:15:57 -03:00
parent 21130a2cc2
commit 1dfbded739

View File

@@ -5,26 +5,34 @@
rust-overlay.url = "github:oxalica/rust-overlay"; rust-overlay.url = "github:oxalica/rust-overlay";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils, rust-overlay }: outputs = {
flake-utils.lib.eachDefaultSystem (system: self,
let nixpkgs,
overlays = [ (import rust-overlay) ]; flake-utils,
pkgs = import nixpkgs { rust-overlay,
inherit system overlays; }:
}; flake-utils.lib.eachDefaultSystem (system: let
in overlays = [(import rust-overlay)];
{ pkgs = import nixpkgs {
devShells.default = pkgs.mkShell { inherit system overlays;
buildInputs = with pkgs; [ };
openssl in {
pkg-config devShells.default = pkgs.mkShell {
eza buildInputs = with pkgs; [
fd openssl
(rust-bin.stable.latest.default.override { pkg-config
extensions = [ "rust-src" ]; eza
}) fd
rust-analyzer (rust-bin.stable.latest.default.override {
]; extensions = ["rust-src"];
}; })
}); rust-analyzer
jq
vhs
ffmpeg
ttyd
glow
];
};
});
} }