Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created June 26, 2017 00:15
Show Gist options
  • Save cleverca22/dce4f0dd7b7bb1bb17a8f7c125cfa3fd to your computer and use it in GitHub Desktop.
Save cleverca22/dce4f0dd7b7bb1bb17a8f7c125cfa3fd to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
fetchFromGitHub rec {
owner = "bhilburn";
repo = "powerlevel9k";
rev = "v0.6.3";
sha256 = "1pg804byc2qkbx515hxjzg3w8hjh05jrc3ma9kkzlbpjdqj1xcd1";
extraPostFetch = ''
mkdir $out/${repo}
mv -vi $out/* $out/${repo}
ls -lh $out
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment