about summary refs log tree commit diff
path: root/pkgs/tvl
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-10-06 15:52:23 +0200
committersternenseemann <sternenseemann@systemli.org>2022-10-06 15:55:50 +0200
commit30f1c24da19990374fe2a54388b03a77d3fcfda7 (patch)
tree9829a0fb1d64739293fbf253b0ed47d680617b2c /pkgs/tvl
parent254b032319daf9a33b6501804b3268f79c4b1d32 (diff)
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.
Diffstat (limited to 'pkgs/tvl')
-rw-r--r--pkgs/tvl/default.nix3
1 files changed, 3 insertions, 0 deletions
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;
 }