agda: pass through meta
This commit is contained in:
parent
aa2ad7a74d
commit
bbb6af88eb
1 changed files with 2 additions and 1 deletions
|
@ -22,13 +22,14 @@ let
|
|||
unwrapped = Agda;
|
||||
tests = { inherit (nixosTests) agda; };
|
||||
};
|
||||
inherit (Agda) meta;
|
||||
} ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${Agda}/bin/agda $out/bin/agda \
|
||||
--add-flags "--with-compiler=${ghc}/bin/ghc" \
|
||||
--add-flags "--library-file=${library-file}" \
|
||||
--add-flags "--local-interfaces"
|
||||
makeWrapper ${Agda}/bin/agda-mode $out/bin/agda-mode
|
||||
ln -s ${Agda}/bin/agda-mode $out/bin/agda-mode
|
||||
''; # Local interfaces has been added for now: See https://github.com/agda/agda/issues/4526
|
||||
|
||||
withPackages = arg: if builtins.isAttrs arg then withPackages' arg else withPackages' { pkgs = arg; };
|
||||
|
|
Loading…
Reference in a new issue