Skip to content

Instantly share code, notes, and snippets.

@cleverca22

cleverca22/- Secret

Created March 7, 2019 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/5e1f7e66dcd6951ab6df0f885ac4e6e8 to your computer and use it in GitHub Desktop.
Save cleverca22/5e1f7e66dcd6951ab6df0f885ac4e6e8 to your computer and use it in GitHub Desktop.
diff --git a/pkgs/applications/networking/datovka/default.nix b/pkgs/applications/networking/datovka/default.nix
index 6e792421009..1f9e4b34d48 100644
--- a/pkgs/applications/networking/datovka/default.nix
+++ b/pkgs/applications/networking/datovka/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libxml2, libisds, qmake, qtbase, qtsvg}:
+{ stdenv, fetchurl, libxml2, libisds, qmake, qtbase, qtsvg }:
stdenv.mkDerivation rec {
name = "datovka-${version}";
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- nativeBuildInputs = [ libxml2 ];
- buildInputs = [ libisds qmake qtbase qtsvg ];
+ buildInputs = [ libisds qmake qtbase qtsvg libxml2 ];
+ NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2/" ];
meta = with stdenv.lib; {
description = "Client application for operating Czech government-provided Databox infomation system";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment