Skip to content

Commit

Permalink
Merge pull request #43 from numtide/testing
Browse files Browse the repository at this point in the history
only set hostPlatform if report.system is present
  • Loading branch information
Mic92 authored Sep 29, 2024
2 parents 9614462 + bd0bacd commit e1ac6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nixos/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
}:
{
nixpkgs = lib.mkIf (!options.nixpkgs.pkgs.isDefined) {
hostPlatform = lib.mkDefault config.facter.report.system;
hostPlatform = lib.mkIf (config.facter.report.system or null != null) (lib.mkDefault config.facter.report.system);
};
}

0 comments on commit e1ac6a8

Please sign in to comment.