git.iko.soy/typeable/nixpkgs
on master help sign in
picom: misc fixes

- Build option `build_docs` was renamed to `with_docs` quite sometime ago: https://github.com/yshui/picom/commit/3f2a6718dfb84110862ef3b51b2c961898f21bfd. This means that the manpage were not being build. - Remove CFLAG `-fno-strict-aliasing` seems to not be used anywhere in the upstream repository. This was probably added for `compton` a long time ago and never removed, since I can't find the commit that added this. - Use release build. This is recommended upstream: https://github.com/yshui/picom#to-build.

commit67e2cb0a02dfda59431e6fc60c085929e29886ce authorThiago Kenji Okada <thiagokokada@gmail.com> dateTue 5 Jan 2021, 20:42 (6 years ago) parent544d4f3
1 file changed+4−4
pkgs/applications/window-managers/picom/default.nix+4−4
pkgs/applications/window-managers/picom/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchFromGitHub, pkgconfig, uthash, asciidoc, docbook_xml_dtd_45
1+{ stdenv, lib, fetchFromGitHub, pkg-config, uthash, asciidoc, docbook_xml_dtd_45
22, docbook_xsl, libxslt, libxml2, makeWrapper, meson, ninja
33, xorgproto, libxcb ,xcbutilrenderutil, xcbutilimage, pixman, libev
44, dbus, libconfig, libdrm, libGL, pcre, libX11
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [
2020 meson ninja
21− pkgconfig
21+ pkg-config
2222 uthash
2323 asciidoc
2424 docbook_xml_dtd_45
@@ -35,10 +35,10 @@ stdenv.mkDerivation rec {
3535 libxdg_basedir
3636 ];
3737
38− NIX_CFLAGS_COMPILE = "-fno-strict-aliasing";
38+ mesonBuildType = "release";
3939
4040 mesonFlags = [
41− "-Dbuild_docs=true"
41+ "-Dwith_docs=true"
4242 ];
4343
4444 installFlags = [ "PREFIX=$(out)" ];