From 1be6d02fe68a34ec5dd3543f55088bca3d93df55 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Fri, 12 Jul 2024 09:49:03 -0400 Subject: [PATCH] PTV build: legacy crossSystem --- flake.nix | 8 ++++---- machines/ptv/configuration.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index a9f6c3f..41a4951 100644 --- a/flake.nix +++ b/flake.nix @@ -66,10 +66,10 @@ ./machines/ptv/configuration.nix patch-8gb { - # nixpkgs.crossSystem = { - # config = "riscv64-unknown-linux-gnu"; - # system = "riscv64-linux"; - # }; + nixpkgs.crossSystem = { + config = "riscv64-unknown-linux-gnu"; + system = "riscv64-linux"; + }; } ]; }; diff --git a/machines/ptv/configuration.nix b/machines/ptv/configuration.nix index 099ec28..3963c80 100644 --- a/machines/ptv/configuration.nix +++ b/machines/ptv/configuration.nix @@ -11,7 +11,7 @@ in { systemd.services."getty@tty0".wantedBy = lib.mkDefault [ "getty.target" ]; system.stateVersion = "24.05"; - nixpkgs.hostPlatform = "riscv64-linux"; + # nixpkgs.hostPlatform = "riscv64-linux"; networking.hostName = "ptv"; nix.registry.nixpkgs.flake = inputs.nixpkgs-stable; nix.settings.experimental-features = [ "nix-command" "flakes" ];