Unverified Commit 464dd867 authored by Colin's avatar Colin Committed by GitHub
Browse files

fityk,xylib: fix cross / strictDeps build (#370617)

parents 45edf427 8c40a322
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -25,7 +25,11 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-m2RaZMYT6JGwa3sOUVsBIzCdZetTbiygaInQWoJ4m1o=";
  };

  nativeBuildInputs = [ autoreconfHook ];
  nativeBuildInputs = [
    autoreconfHook
    lua
    swig
  ];
  buildInputs = [
    wxGTK32
    boost
@@ -35,7 +39,10 @@ stdenv.mkDerivation rec {
    xylib
    readline
    gnuplot
    swig
  ];

  configureFlags = [
    "--with-wx-config=${lib.getExe' (lib.getDev wxGTK32) "wx-config"}"
  ];

  env.NIX_CFLAGS_COMPILE = toString [
+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
    wxGTK32
  ];

  configureFlags = [
    "--with-wx-config=${lib.getExe' (lib.getDev wxGTK32) "wx-config"}"
  ];

  meta = with lib; {
    description = "Portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods";
    license = licenses.lgpl21;