Skip to content

Commit

Permalink
fix eval with nixos master
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyuyureka committed Feb 5, 2025
1 parent 26a47ef commit 1393237
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,9 @@
cfg = config.services.fernglas;
settingsFormat = pkgs.formats.yaml { };

hostSystem = if (options.nixpkgs ? hostPlatform && options.nixpkgs.hostPlatform.isDefined)
then config.nixpkgs.hostPlatform.system
else config.nixpkgs.localSystem.system
;
fernglasPkgs = if cfg.useMusl
then self.legacyPackages.${hostSystem}.pkgsCross.musl64
else self.legacyPackages.${hostSystem}
then self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.pkgsCross.musl64
else self.legacyPackages.${pkgs.stdenv.hostPlatform.system}
;

cfgfile = pkgs.writeTextFile {
Expand Down

0 comments on commit 1393237

Please sign in to comment.