Loading pkgs/tools/graphics/zbar/default.nix +16 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ , libintl , libiconv , Foundation , bash , python3 }: stdenv.mkDerivation rec { Loading Loading @@ -66,6 +68,18 @@ stdenv.mkDerivation rec { qtx11extras ]; nativeCheckInputs = [ bash python3 ]; # Note: postConfigure instead of postPatch in order to include some # autoconf-generated files. The template files for the autogen'd scripts are # not chmod +x, so patchShebangs misses them. postConfigure = '' patchShebangs test ''; # Disable assertions which include -dev QtBase file paths. env.NIX_CFLAGS_COMPILE = "-DQT_NO_DEBUG"; Loading @@ -83,6 +97,8 @@ stdenv.mkDerivation rec { "--without-qt" ]); doCheck = !stdenv.isDarwin; dontWrapQtApps = true; dontWrapGApps = true; Loading Loading
pkgs/tools/graphics/zbar/default.nix +16 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ , libintl , libiconv , Foundation , bash , python3 }: stdenv.mkDerivation rec { Loading Loading @@ -66,6 +68,18 @@ stdenv.mkDerivation rec { qtx11extras ]; nativeCheckInputs = [ bash python3 ]; # Note: postConfigure instead of postPatch in order to include some # autoconf-generated files. The template files for the autogen'd scripts are # not chmod +x, so patchShebangs misses them. postConfigure = '' patchShebangs test ''; # Disable assertions which include -dev QtBase file paths. env.NIX_CFLAGS_COMPILE = "-DQT_NO_DEBUG"; Loading @@ -83,6 +97,8 @@ stdenv.mkDerivation rec { "--without-qt" ]); doCheck = !stdenv.isDarwin; dontWrapQtApps = true; dontWrapGApps = true; Loading