diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-20 12:46:05 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-25 18:38:19 -0500 |
commit | c65edd687f11a5b16b79bc90b129ccdf9b8bc902 (patch) | |
tree | baaf0adcd1794a118507c37b9b491f586de10d1d /pkgs/development/libraries/geoclue/default.nix | |
parent | ee929c7299ee67eadfdda88d81d13e2a602dcdd9 (diff) |
geoclue2: correct sysconfdir
Diffstat (limited to 'pkgs/development/libraries/geoclue/default.nix')
-rw-r--r-- | pkgs/development/libraries/geoclue/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/geoclue/default.nix b/pkgs/development/libraries/geoclue/default.nix index f2eeb9ae40b83..5e83ba71c1bc2 100644 --- a/pkgs/development/libraries/geoclue/default.nix +++ b/pkgs/development/libraries/geoclue/default.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { sha256 = "0vww6irijw5ss7vawkdi5z5wdpcgw4iqljn5vs3vbd4y3d0lzrbs"; }; + patches = [ + ./add-option-for-installation-sysconfdir.patch + ]; + outputs = [ "out" "dev" "devdoc" ]; nativeBuildInputs = [ @@ -36,6 +40,8 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dsystemd-system-unit-dir=${placeholder "out"}/etc/systemd/system" "-Ddemo-agent=${if withDemoAgent then "true" else "false"}" + "--sysconfdir=/etc" + "-Dsysconfdir_install=${placeholder "out"}/etc" ] ++ optionals stdenv.isDarwin [ "-D3g-source=false" "-Dcdma-source=false" |