tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cxxtools: hardcode TZDIR
Weijia Wang
2 years ago
a83d30ff
6c643560
+6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
cxxtools
default.nix
+6
pkgs/development/libraries/cxxtools/default.nix
···
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
, fetchpatch
5
5
+
, tzdata
5
6
, autoreconfHook
6
7
, openssl
7
8
}:
···
27
28
hash = "sha256-ZnlbdWBjL9lEtNLEF/ZPa0IzvJ7i4xWI4GbY8KeA6A4=";
28
29
})
29
30
];
31
31
+
32
32
+
postPatch = ''
33
33
+
substituteInPlace src/tz.cpp \
34
34
+
--replace '::getenv("TZDIR")' '"${tzdata}/share/zoneinfo"'
35
35
+
'';
30
36
31
37
nativeBuildInputs = [
32
38
autoreconfHook