forked from arrowtype/recursive-code-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
36 lines (29 loc) · 868 Bytes
/
flake.nix
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
28
29
30
31
32
33
34
35
36
{
description = "Flake for convenient nix packages";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = {self, nixpkgs } :
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
# config.allowUnfree = true;
};
in {
devShell.${system} = pkgs.mkShell {
nativeBuildInputs = [ pkgs.bashInteractive ];
buildInputs = with pkgs; [
# I had error with finding libstdc++.so.6, so gcu_multi showed me the $LD_LIBRARY_PATH
gcc_multi
# nerd icons patching
nerd-font-patcher
(python311.withPackages(ps: with ps; [
fonttools
ttfautohint
skia-pathops
pyyaml
]))
# add more packages (https://search.nixos.org)
];
};
};
}