Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e30d887597f3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dfa45dfb8624
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Feb 28, 2019

  1. Copy the full SHA
    466f1d8 View commit details

Commits on Mar 1, 2019

  1. Merge #56516: lndir: get rid of xorgproto dependency

    ... into staging.
    vcunat committed Mar 1, 2019
    Copy the full SHA
    dfa45df View commit details
Showing with 8 additions and 0 deletions.
  1. +8 −0 pkgs/servers/x11/xorg/overrides.nix
8 changes: 8 additions & 0 deletions pkgs/servers/x11/xorg/overrides.nix
Original file line number Diff line number Diff line change
@@ -598,8 +598,16 @@ self: super:
}));

lndir = super.lndir.overrideAttrs (attrs: {
buildInputs = [];
preConfigure = ''
export XPROTO_CFLAGS=" "
export XPROTO_LIBS=" "
substituteInPlace lndir.c \
--replace '<X11/Xos.h>' '<string.h>' \
--replace '<X11/Xfuncproto.h>' '<unistd.h>' \
--replace '_X_ATTRIBUTE_PRINTF(1,2)' '__attribute__((__format__(__printf__,1,2)))' \
--replace '_X_ATTRIBUTE_PRINTF(2,3)' '__attribute__((__format__(__printf__,2,3)))' \
--replace '_X_NORETURN' '__attribute__((noreturn))' \
--replace 'n_dirs--;' ""
'';
});