-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevshell.nix
51 lines (51 loc) · 1.04 KB
/
devshell.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
{
pkgs ?
import <nixpkgs> {
config.allowUnfree = true;
},
}:
pkgs.mkShell {
# nativeBuildInputs is usually what you want -- tools you need to run
propagatedBuildInputs = with pkgs; [
zlib
zstd
stdenv.cc.cc
curl
openssl
attr
libssh
bzip2
libxml2
acl
libsodium
util-linux
xz
systemd
glib.out
libGL
];
postShellHook = ''
unset LD_LIBRARY_PATH
'';
preferLocalBuild = true;
nativeBuildInputs = with pkgs.buildPackages; [
autoPatchelfHook
vim
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [
bbenoist.nix
ms-python.vscode-pylance
ms-python.python
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-python.debugpy
ms-python.vscode-pylance
ms-python.black-formatter
vscodevim.vim # <33333
christian-kohler.path-intellisense
visualstudioexptteam.vscodeintellicode
usernamehw.errorlens # inline error message
];
})
];
}