pkgs/overlays/unstable: fix crosscompiling

This commit is contained in:
Wroclaw 2024-07-03 00:53:09 +02:00
parent 4f10f70c70
commit bc5c7553db

View file

@ -16,10 +16,10 @@ let
nixpkgsRevision = (builtins.readFile "${unstablePkgsExprs}/.git-revision"); nixpkgsRevision = (builtins.readFile "${unstablePkgsExprs}/.git-revision");
unstablePkgsForNixpkgs = nixpkgs: import unstablePkgsExprs { unstablePkgsForNixpkgs = nixpkgs: import unstablePkgsExprs {
# localSystem -> pkgs.stdenv.hostPlatform or pkgs.stdenv.hostPlatform ??? # localSystem -> pkgs.stdenv.buildPlatform
localSystem = nixpkgs.stdenv.hostPlatform; localSystem = nixpkgs.stdenv.buildPlatform;
# crossSystem -> nixpkgs.stdenv.targetPlatform # crossSystem -> pkgs.stdenv.hostPlatform or pkgs.stdenv.targetPlatform ??
crossSystem = nixpkgs.stdenv.targetPlatform; crossSystem = nixpkgs.stdenv.hostPlatform;
# config -> pkgs.config # config -> pkgs.config
config = nixpkgs.config; config = nixpkgs.config;
# overlays -> partial of pkgs.overlays # overlays -> partial of pkgs.overlays