···1-diff --git a/test/run b/test/run
2-index cbdd98f0..bc930200 100755
3---- a/test/run
4-+++ b/test/run
5-@@ -346,11 +346,11 @@ expect_perm() {
6- }
7-8- reset_environment() {
9-- while IFS= read -r name; do
10-+ while IFS='=' read -r name value; do
11- if [[ $name =~ ^CCACHE_[A-Z0-9_]*$ ]]; then
12- unset $name
13- fi
14-- done < <(compgen -e)
15-+ done < <(env)
16-17- unset GCC_COLORS
18- unset TERM
···000000000000000000
+65-72
pkgs/servers/firebird/default.nix
···1-{lib, stdenv, fetchurl, libedit, automake, autoconf, libtool
2-,
3- # icu = null: use icu which comes with firebird
00000000000045- # icu = pkgs.icu => you may have trouble sharing database files with windows
6- # users if "Collation unicode" columns are being used
7- # windows icu version is *30.dll, however neither the icu 3.0 nor the 3.6
8- # sources look close to what ships with this package.
9- # Thus I think its best to trust firebird devs and use their version
1011- # icu version missmatch may cause such error when selecting from a table:
12- # "Collation unicode for character set utf8 is not installed"
1314- # icu 3.0 can still be built easily by nix (by dropping the #elif case and
15- # make | make)
16- icu ? null
1718-, superServer ? false
19-, port ? 3050
20-, serviceName ? "gds_db"
21-}:
002223-/*
24- there are 3 ways to use firebird:
25- a) superserver
26- - one process, one thread for each connection
27- b) classic
28- - is built by default
29- - one process for each connection
30- - on linux direct io operations (?)
31- c) embedded.
3233- manual says that you usually don't notice the difference between a and b.
03435- I'm only interested in the embedder shared libary for now.
36- So everything isn't tested yet
00003738-*/
3940-stdenv.mkDerivation rec {
41- version = "2.5.7.27050-0";
42- pname = "firebird";
0004344- # enableParallelBuilding = false; build fails
04546- # http://tracker.firebirdsql.org/browse/CORE-3246
47- preConfigure = ''
48- makeFlags="$makeFlags CPU=$NIX_BUILD_CORES"
49- '';
5051- configureFlags =
52- [ "--with-serivec-port=${builtins.toString port}"
53- "--with-service-name=${serviceName}"
54- "--with-system-editline"
55- "--with-fblog=/var/log/firebird"
56- "--with-fbconf=/etc/firebird"
57- "--with-fbsecure-db=/var/db/firebird/system"
58- ]
59- ++ (lib.optional (icu != null) "--with-system-icu")
60- ++ (lib.optional superServer "--enable-superserver");
6162- src = fetchurl {
63- url = "mirror://sourceforge/firebird/Firebird-${version}.tar.bz2";
64- sha256 = "06hp6bq5irqvm3h03s79qjgcc3jsjpq150y9aq7anklx9v4nhfqa";
65- };
6667- hardeningDisable = [ "format" ];
06869- # configurePhase = ''
70- # sed -i 's@cp /usr/share/automake-.*@@' autogen.sh
71- # sh autogen.sh $configureFlags --prefix=$out
72- # '';
73- buildInputs = [libedit icu automake autoconf libtool];
7475- # TODO: Probably this hase to be tidied up..
76- # make install requires beeing. disabling the root checks
77- # dosen't work. Copying the files manually which can be found
78- # in ubuntu -dev -classic, -example packages:
79- # maybe some of those files can be removed again
80- installPhase = "cp -r gen/firebird $out";
8182- meta = {
83- description = "SQL relational database management system";
84- homepage = "https://www.firebirdnews.org";
85- license = ["IDPL" "Interbase-1.0"];
86- maintainers = [lib.maintainers.marcweber];
87- platforms = lib.platforms.linux;
88- broken = true;
89- };
9091}