matthewcroughan | Test Summary Report
-------------------
02-test_errstr.t (Wstat: 18688 (exited 73) Tests: 137 Failed: 73)
Failed tests: 1, 4, 9, 11-12, 14-15, 17-18, 20, 23, 25
27-29, 31-34, 36, 38, 40-41, 44, 46, 50-51
53-55, 58, 60-61, 63-65, 68, 70, 73-79
81-83, 85-88, 91-92, 95-96, 98, 100-101
103-105, 107, 111-112, 115, 121-123, 125
128, 131, 133
Non-zero exit status: 73
Files=350, Tests=4500, 477 wallclock secs ( 3.18 usr 0.67 sys + 435.60 cusr 116.43 csys = 555.88 CPU)
Result: FAIL
| 12:01:47 |
onny | i'm using this flake.nix to build my riscv system locally and push it via ssh to the riscv-board:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
};
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs: {
nixosConfigurations = {
# Native machine build
picloudrv = nixpkgs.lib.nixosSystem rec {
system = "riscv64-linux";
pkgs = import nixpkgs;
specialArgs = { inherit inputs; };
modules = [
({ pkgs, ... }: {
})
./configuration.nix
];
};
# Cross machine build, from x86_64
picloudrv-from-x86_64 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
({ pkgs, ... }: {
})
./configuration.nix
{
imports = [
"${nixos-hardware}/starfive/visionfive/v2/sd-image-installer.nix"
];
# This is the architecture we build from (pkgs.system from above)
nixpkgs.buildPlatform = "x86_64-linux";
# pkgsCross.<yourtarget>.system
nixpkgs.hostPlatform = "riscv64-linux";
}
];
};
};
};
}
i'm trying to patch the app plausible to use tailwindcss_3 from the build machine since it is not available for riscv ( https://github.com/NixOS/nixpkgs/pull/447495/files )
config :tailwind, path: "${lib.getExe pkgsBuildHost.tailwindcss_3}"
somehow the build process is still trying to compile taildwindcss_3 for riscv platform and fails :(
| 12:28:56 |
onny | both this
163| config :tailwind, path: "${lib.getExe buildPackages.tailwindcss_3}"
and this
… from call site
at /nix/store/wyfpjl27b10ikdlfi5ibb2fbr60sqi0r-source/pkgs/by-name/pl/plausible/package.nix:165:32:
164| cat >> config/config.exs <<EOF
165| config :tailwind, path: "${lib.getExe pkgsBuildHost.tailwindcss_3}"
| ^
166| config :esbuild, path: "${lib.getExe esbuild}"
result in
at /nix/store/j8g50snzvr3618ggrhcgpc8534rk5mh6-source/pkgs/by-name/ta/tailwindcss_3/package.nix:9:17:
8| inherit (stdenv.hostPlatform) system;
9| throwSystem = throw "tailwindcss has not been packaged for ${system} yet.";
| ^
10|
error: tailwindcss has not been packaged for riscv64-linux yet.
| 12:43:34 |