Skip to content

Commit

Permalink
nixos/fontsdir: fix cross
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Jan 5, 2025
1 parent aff999e commit dc2bbf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/config/fonts/fontdir.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let

cfg = config.fonts.fontDir;

x11Fonts = pkgs.callPackage (
needsNative = pkgs.stdenv.buildPlatform == pkgs.stdenv.hostPlatform;
x11Fonts = (if needsNative then pkgs else pkgs.pkgsBuildBuild).callPackage (
{
runCommand,
gzip,
Expand Down

0 comments on commit dc2bbf1

Please sign in to comment.