Merge pull request 'fix(clan-cli): fix cross system' (#2935) from r17x/clan-core:fix/machine-cross-target-host into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2935
This commit is contained in:
lassulus
2025-02-26 09:18:08 +00:00

View File

@@ -74,7 +74,7 @@ class Machine:
let let
flake = builtins.getFlake("path:{self.flake.store_path}?narHash={self.flake.hash}"); flake = builtins.getFlake("path:{self.flake.store_path}?narHash={self.flake.hash}");
in in
flake.inputs.nixpkgs.legacyPackages.{self.system}.runCommandNoCC "clan-can-build-{int(time())}" {{ }} "touch $out").drvPath (flake.inputs.nixpkgs.legacyPackages.{self.system}.runCommandNoCC "clan-can-build-{int(time())}" {{ }} "touch $out").drvPath
""" """
unsubstitutable_drv = json.loads( unsubstitutable_drv = json.loads(