Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created November 17, 2020 21:47
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 samueldr/46fb36f2cb374f1dcc1568d108bcff25 to your computer and use it in GitHub Desktop.
Save samueldr/46fb36f2cb374f1dcc1568d108bcff25 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
libxkbcommon.overrideAttrs({...}: {
nativeBuildInputs = [ meson ninja pkgconfig yacc ];
buildInputs = [ ];
mesonFlags = [
"-Denable-wayland=false"
"-Denable-x11=false"
"-Denable-docs=false"
];
outputs = [ "out" "dev" ];
# Ensures we don't get any stray dependencies.
allowedReferences = [
"out"
"dev"
stdenv.cc.libc_lib
];
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment