-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
38 lines (35 loc) · 887 Bytes
/
shell.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
# This defines a function taking `pkgs` as parameter, and uses
# `nixpkgs` by default if no argument is passed to it.
{ pkgs ? import <nixpkgs> {} }:
# This avoids typing `pkgs.` before each package name.
with pkgs;
# Defines a shell.
mkShell {
# Sets the build inputs, i.e. what will be available in our
# local environment.
buildInputs = [
haskellPackages.pandoc
haskellPackages.pandoc-crossref
texlive.combined.scheme-full
ipafont
libGL
gtk3
gtkmm3
webkitgtk
python310
python310Packages.pywebview
python310Packages.pyqtwebengine
python310Packages.pyqt5
python310Packages.pygobject3
python310Packages.gst-python
gobject-introspection
gsettings-desktop-schemas
shadow
xorg.xhost
glib-networking
cacert
];
shellHook = ''
export GIO_MODULE_DIR=${glib-networking}/lib/gio/modules/
'';
}