modules/modules.nix: pkgs.system -> pkgs.stdenv.hostPlatform.system (#2419)

This commit is contained in:
Edmund Wu 2021-10-29 11:50:50 -04:00 committed by GitHub
parent cf4866d218
commit bc0acdad8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,7 +258,7 @@ let
_module.check = check; _module.check = check;
lib = lib.hm; lib = lib.hm;
} // optionalAttrs useNixpkgsModule { } // optionalAttrs useNixpkgsModule {
nixpkgs.system = mkDefault pkgs.system; nixpkgs.system = mkDefault pkgs.stdenv.hostPlatform.system;
}; };
}; };