From bc5c7553db260c1bc1644846726079c6641452bb Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Wed, 3 Jul 2024 00:53:09 +0200 Subject: [PATCH] pkgs/overlays/unstable: fix crosscompiling --- pkgs/overlays/unstable.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/overlays/unstable.nix b/pkgs/overlays/unstable.nix index 9aa8f2c..f40c705 100644 --- a/pkgs/overlays/unstable.nix +++ b/pkgs/overlays/unstable.nix @@ -16,10 +16,10 @@ let nixpkgsRevision = (builtins.readFile "${unstablePkgsExprs}/.git-revision"); unstablePkgsForNixpkgs = nixpkgs: import unstablePkgsExprs { - # localSystem -> pkgs.stdenv.hostPlatform or pkgs.stdenv.hostPlatform ??? - localSystem = nixpkgs.stdenv.hostPlatform; - # crossSystem -> nixpkgs.stdenv.targetPlatform - crossSystem = nixpkgs.stdenv.targetPlatform; + # localSystem -> pkgs.stdenv.buildPlatform + localSystem = nixpkgs.stdenv.buildPlatform; + # crossSystem -> pkgs.stdenv.hostPlatform or pkgs.stdenv.targetPlatform ?? + crossSystem = nixpkgs.stdenv.hostPlatform; # config -> pkgs.config config = nixpkgs.config; # overlays -> partial of pkgs.overlays