-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
27 lines (27 loc) · 793 Bytes
/
flake.nix
File metadata and controls
27 lines (27 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
description = "Inclearn Dev Env";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
nixpkgs-unstb.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, nixpkgs-unstb, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
unstb = nixpkgs-unstb.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
NIX_SHELL_NAME="INCLEARN";
LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH";
packages = with unstb; [
stdenv.cc.cc.lib
bun
python3
uv
lefthook
];
};
}
);
}