-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
default.nix
57 lines (51 loc) · 988 Bytes
/
default.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
with (import <nixpkgs> {});
let
basePackages = [
nodejs-18_x
yarn
cairo
pango
pkg-config
nodePackages.node-gyp
libpng
librsvg
pixman
giflib
libjpeg
hugo
# TODO: For local dev it's nice to have but you can always add them manudal
# docker
# chromedriver
# act
];
inputs = basePackages
++ lib.optional stdenv.isLinux inotify-tools
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
CoreFoundation
CoreServices
CoreText
]);
in mkShell {
name = "kubelt";
allowUnfree = true;
nativeBuildInputs = [
pkg-config
];
buildInputs = inputs;
# APPEND_LIBRARY_PATH = "${lib.makeLibraryPath [
# pkg-config
# nodePackages.node-gyp
# cairo
# pango
# libpng
# llvm
# librsvg
# pixman
# giflib
# libjpeg
# ]}";
shellHook = ''
LD=$CC
export LD_LIBRARY_PATH="$APPEND_LIBRARY_PATH:$LD_LIBRARY_PATH"
'';
}