3
0
Fork 0
forked from mirrors/nixpkgs

nerdfonts: moved to correct location

This commit is contained in:
Rok Garbas 2016-05-17 01:52:49 +02:00
parent 348ae8f6ec
commit 44b6ba1872

View file

@ -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; {