wrappers: use system from stdenv.hostPlatform

`pgs.system` is a flaky alias and it is more reliable to directly use
`pkgs.stdenv.hostPlatform.system`
This commit is contained in:
Sandro Jäckel 2024-06-30 00:28:54 +02:00 committed by Gaetan Lepage
parent c062b976ef
commit 662a0e1bdb
5 changed files with 5 additions and 5 deletions

View file

@ -55,7 +55,7 @@ in
environment.systemPackages = [
cfg.finalPackage
cfg.printInitPackage
] ++ (lib.optional cfg.enableMan self.packages.${pkgs.system}.man-docs);
] ++ (lib.optional cfg.enableMan self.packages.${pkgs.stdenv.hostPlatform.system}.man-docs);
}
(mkIf (!cfg.wrapRc) {
environment.etc = files;