Skip to content

Commit c6c5aad

Browse files
authored
nickel: fix nickel on aarch64-linux (NixOS#397113)
2 parents 9e925ef + 7a4655c commit c6c5aad

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pkgs/by-name/ni/nickel/package.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
6161
--replace-fail "dep:comrak" "comrak"
6262
'';
6363

64+
cargoTestFlags = [
65+
# Skip the py-nickel tests because linking them fails on aarch64, and we
66+
# aren't packaging py-nickel anyway
67+
"--workspace"
68+
"--exclude=py-nickel"
69+
];
70+
6471
checkFlags = [
6572
# https://github.com/tweag/nickel/blob/1.10.0/git/tests/main.rs#L60
6673
# fails because src is not a git repo
@@ -99,10 +106,5 @@ rustPlatform.buildRustPackage (finalAttrs: {
99106
matthiasbeyer
100107
];
101108
mainProgram = "nickel";
102-
badPlatforms = [
103-
# collect2: error: ld returned 1 exit status
104-
# undefined reference to `PyExc_TypeError'
105-
"aarch64-linux"
106-
];
107109
};
108110
})

0 commit comments

Comments
 (0)