Skip to content

Instantly share code, notes, and snippets.

@CestDiego
Created July 18, 2015 15:50
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 CestDiego/6a631b81db0987e239e4 to your computer and use it in GitHub Desktop.
Save CestDiego/6a631b81db0987e239e4 to your computer and use it in GitHub Desktop.
i3 = pkgs.stdenv.lib.overrideDerivation pkgs.i3 (oldAttrs: rec {
src = pkgs.fetchgit {
url = "http://github.com/Airblader/i3.git";
rev = "03d3e7785fd9ce27a7f7ad36dcefc12a41672865";
branchName = "gaps-next";
sha256 = "81b2c65663c3ce13a7e62f233d5d902fe50dd0356b7a239807f30230c40670d5";
};
postUnpack = ''
find .
echo "Output: " + $src
echo -n "4.10.2 (2015-07-14, branch \\\"gaps-next\\\")" > ./i3/I3_VERSION
echo -n "4.10.2" > ./i3/VERSION
'';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment