Skip to content

Instantly share code, notes, and snippets.

@mrkgnao
Created January 7, 2017 13:05
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 mrkgnao/73e3d9c476a6b839fec3cc193509f845 to your computer and use it in GitHub Desktop.
Save mrkgnao/73e3d9c476a6b839fec3cc193509f845 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "polybar-git";
src = ./polybar;
buildInputs =
[
boost
pkgconfig
xlibs.libXft
xlibs.libXau
xlibs.libXdmcp
cmake
expat
xorg.xcbproto
xorg.xcbutil
xorg.xcbutilwm
xorg.xcbutilimage
xorg.libpthreadstubs
xorg.libxcb
python2
];
installPhase =
''
mkdir build
cd build
cmake ..
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment