Skip to content

Instantly share code, notes, and snippets.

@Enzime
Created August 11, 2018 07:19
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 Enzime/a9f7ce27fc34e3ac2070e591fb3b01e2 to your computer and use it in GitHub Desktop.
Save Enzime/a9f7ce27fc34e3ac2070e591fb3b01e2 to your computer and use it in GitHub Desktop.
{
packageOverrides = pkgs: rec {
i3-ws = pkgs.callPackage ./i3-ws.nix {};
};
}
{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs) fetchFromGitHub stdenv;
in
stdenv.mkDerivation {
name = "i3-ws";
src = fetchFromGitHub {
owner = "Enzime";
repo = "i3-ws";
rev = "bca34b6b10509088ceac03fb9a1ef27808165ccb";
sha256 = "1i014hsi80wsaxmdpl8ccwhpvnclkl14w4r0mbci3yqap8a32wgn";
fetchSubmodules = true;
};
buildInputs = with pkgs; [
i3 jsoncpp libsigcxx
];
nativeBuildInputs = with pkgs; [
cmake pkgconfig
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment