chore: format flake.nix
This commit is contained in:
52
flake.nix
52
flake.nix
@@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user