Skip to content

Commit

Permalink
nerdfonts: moved to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed May 16, 2016
1 parent 348ae8f commit 44b6ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/data/fonts/nerdfonts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [ which ];
patchPhase = ''
sed -i -e 's|/bin/bash|${bash}/bin/bash|g' install.sh
sed -i -e 's|font_dir="\$HOME/.local|font_dir="$out|g' install.sh
sed -i -e 's|font_dir="\$HOME/.local/share/fonts|font_dir="$out/share/fonts/truetype|g' install.sh
'';
installPhase = ''
mkdir -p $out/share/fonts
mkdir -p $out/share/fonts/truetype
./install.sh
'';
meta = with stdenv.lib; {
Expand Down

0 comments on commit 44b6ba1

Please sign in to comment.