updated flake
This commit is contained in:
parent
0093589a4b
commit
70578fd132
20
flake.nix
20
flake.nix
@ -21,13 +21,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Flake outputs that other flakes can use
|
# Flake outputs that other flakes can use
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{ self
|
||||||
flake-schemas,
|
, flake-schemas
|
||||||
nixpkgs,
|
, nixpkgs
|
||||||
rust-overlay,
|
, rust-overlay
|
||||||
nix-deno,
|
, nix-deno
|
||||||
}: let
|
,
|
||||||
|
}:
|
||||||
|
let
|
||||||
# Nixpkgs overlays
|
# Nixpkgs overlays
|
||||||
overlays = [
|
overlays = [
|
||||||
nix-deno.overlays.default
|
nix-deno.overlays.default
|
||||||
@ -44,7 +46,8 @@
|
|||||||
f {
|
f {
|
||||||
pkgs = import nixpkgs { inherit overlays system; };
|
pkgs = import nixpkgs { inherit overlays system; };
|
||||||
});
|
});
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
# Schemas tell Nix about the structure of your flake's outputs
|
# Schemas tell Nix about the structure of your flake's outputs
|
||||||
schemas = flake-schemas.schemas;
|
schemas = flake-schemas.schemas;
|
||||||
|
|
||||||
@ -70,6 +73,7 @@
|
|||||||
env = {
|
env = {
|
||||||
RUST_BACKTRACE = "1";
|
RUST_BACKTRACE = "1";
|
||||||
RUST_SRC_PATH = "${pkgs.rustToolchain}/lib/rustlib/src/rust/library";
|
RUST_SRC_PATH = "${pkgs.rustToolchain}/lib/rustlib/src/rust/library";
|
||||||
|
ZELLIJ_CONFIG_FILE = "config.kdl";
|
||||||
# PATH = "$PATH:$HOME/.local/share/nvim/mason/bin/deno";
|
# PATH = "$PATH:$HOME/.local/share/nvim/mason/bin/deno";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user