-
Notifications
You must be signed in to change notification settings - Fork 3
/
shell.nix
40 lines (39 loc) · 911 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
39
40
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
pkgs = import nixpkgs { config = {}; overlays = []; };
# libspatialite in lib-path to be able to execute '.load mod_spatialite'
lib-path = with pkgs; lib.makeLibraryPath [
libspatialite
];
in
pkgs.mkShellNoCC {
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
packages = with pkgs; [
bash
# envsubst
gettext
# make
gnumake
# nproc
coreutils
# curl
curlMinimal
# SSL certificates when using --pure
cacert
# ogr2ogr
gdalMinimal
sqlite
osmium-tool
# OsmAndCreator
libarchive # bsdtar to unzip stdin
jdk17 # cannot use _headless because of libawt_xawt.so
# mapshaper and topojson
nodePackages.npm
nodejs-slim_21
# garmin styles
git
];
shellHook = ''
export LD_LIBRARY_PATH="${lib-path}"
'';
}