From 30f1c24da19990374fe2a54388b03a77d3fcfda7 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 6 Oct 2022 15:52:23 +0200 Subject: pkgs/tvl: pass localSystem correctly depot reimports nixpkgs, so we need to make sure it passes the correct value for `system`. As a result of how depot works, cross is unsupported at the moment. This breaks machines/sternenseemann/ludwig for the moment, which we'll be able to address separately. --- pkgs/tvl/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs') diff --git a/pkgs/tvl/default.nix b/pkgs/tvl/default.nix index e1cf7cd2..8808061a 100644 --- a/pkgs/tvl/default.nix +++ b/pkgs/tvl/default.nix @@ -9,4 +9,7 @@ import tvlSrc { nixpkgsBisectPath = pkgs.path; # TODO: does this improve eval time significantly? + localSystem = + assert pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform; + pkgs.stdenv.buildPlatform.system; } -- cgit 1.4.1