agdaPackages.agda2hs-base: don't hard code agda2hs source name

fetchFromGitHub always results in "source" as sourceRoot, but this is
not true when e.g. using the Hackage tarball.
This commit is contained in:
sternenseemann
2025-10-06 15:03:04 +02:00
parent 34d43f044e
commit 2053ef9822
@@ -9,7 +9,9 @@ mkDerivation {
inherit (haskellPackages.agda2hs) src version;
sourceRoot = "source/lib/base";
postUnpack = ''
sourceRoot="$sourceRoot/lib/base"
'';
libraryFile = "base.agda-lib";