Compare commits

..

2 Commits

4 changed files with 16 additions and 4 deletions

View File

@ -11,7 +11,11 @@ pkgs.stdenv.mkDerivation {
}; };
installPhase = '' installPhase = ''
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
runHook postInstall
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {

View File

@ -11,7 +11,11 @@ pkgs.stdenv.mkDerivation {
}; };
installPhase = '' installPhase = ''
install -Dm444 -t $out/share/fonts/truetype $src/*.ttf runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
runHook postInstall
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {

View File

@ -1,5 +1,5 @@
{ {
description = "A very basic flake"; description = "A flake that installs SMC fonts. It follows unstable.";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

View File

@ -11,7 +11,11 @@ pkgs.stdenv.mkDerivation {
}; };
installPhase = '' installPhase = ''
install -Dm444 -t $out/share/fonts/opentype $src/*.otf runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
''; '';
meta = with pkgs.lib; { meta = with pkgs.lib; {