Skip to content

Commit 14b7595

Browse files
Copilotandreasabel
andcommitted
Fix nix CI: add diffutils parameter to agda2hs.nix
The testsuite uses diff, so diffutils needs to be available. In agda2hs.nix, pkgs refers to the list of Agda packages (not nixpkgs), so diffutils must be passed as a function parameter via callPackage. Co-authored-by: andreasabel <[email protected]>
1 parent 883e123 commit 14b7595

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/agda2hs.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
makeWrapper,
1313
writeText,
1414
ghcWithPackages,
15+
diffutils,
1516
}:
1617

1718
let
@@ -52,7 +53,7 @@ let
5253
{
5354
inherit pname version;
5455
nativeBuildInputs = [
55-
pkgs.diffutils
56+
diffutils
5657
makeWrapper
5758
];
5859
passthru = {

0 commit comments

Comments
 (0)