PinetabV: catch2 & registry fix
This commit is contained in:
@@ -13,7 +13,7 @@ in {
|
||||
system.stateVersion = "24.05";
|
||||
nixpkgs.hostPlatform = "riscv64-linux";
|
||||
networking.hostName = "ptv";
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs-stable;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
||||
@@ -23,8 +23,10 @@ in {
|
||||
});
|
||||
# See https://github.com/catchorg/Catch2/issues/2808
|
||||
# Fixed by https://github.com/NixOS/nixpkgs/pull/295243
|
||||
catch2_3 = prev.catch2_3.overrideAttrs ({ NIX_CFLAGS_COMPILE ? "", ... }: {
|
||||
NIX_CFLAGS_COMPILE = "${NIX_CFLAGS_COMPILE} -Wno-error=cast-align";
|
||||
catch2_3 = prev.catch2_3.overrideAttrs (old: {
|
||||
preConfigure = (old.preConfigure or "") + ''
|
||||
export CFLAGS="$CFLAGS -Wno-error=cast-align"
|
||||
'';
|
||||
});
|
||||
# One test times out
|
||||
json-glib = noCheck prev.json-glib;
|
||||
|
||||
Reference in New Issue
Block a user