about summary refs log tree commit diff
path: root/pkgs/build-support/agda
AgeCommit message (Collapse)AuthorFilesLines
2023-02-18Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann1-1/+5
2023-02-14agda: 2.6.2.2 -> 2.6.3Ingo Blechschmidt1-0/+7
2023-02-12agda: fix passthruNaïm Favier1-1/+5
The current `//` override to `agda.passthru.tests` is non-recursive so it destroys everything else under `passthru`, and furthermore does not go through `mkDerivation` so that we end up with different values for `agda.tests` and `agda.passthru.tests`. Fix it by moving the `allPackages` test to the definition of `withPackages`.
2023-01-12agda: pass through metaNaïm Favier1-1/+2
2021-10-19Merge pull request #98214 from turion/dev_test_all_agda_packagesManuel Bärenz2-0/+10
Fix #98209. Test all agda packages
2021-08-30build-support/agda: Make includePaths configurableManuel Bärenz1-1/+3
2021-08-15treewide: runCommandNoCC -> runCommandRobert Hensing1-2/+2
This has been synonymous for ~5y.
2021-08-03agdaPackages: Build reverse dependencies on testManuel Bärenz2-0/+10
2021-07-22agdaPackages: Don't build broken packages on hydraManuel Bärenz1-0/+2
2021-05-13mkShell: introduce packages argument (#122180)Jonas Chevalier1-1/+1
The distinction between the inputs doesn't really make sense in the mkShell context. Technically speaking, we should be using the nativeBuildInputs most of the time. So in order to make this function more beginner-friendly, add "packages" as an attribute, that maps to nativeBuildInputs. This commit also updates all the uses in nixpkgs.
2021-03-30agda nixos test: add to passthru for agda + stdlibAlex Rice1-2/+5
2021-02-03Merge pull request #110512 from neosimsim/agda-dont-install-EverythingAnderson Torres2-1/+11
Agda don't install Everything module
2021-01-24agdaPackages.mkDerivation: don't install Everything moduleAlexander Ben Nasrallah2-1/+11
The Everthing module is not part of a library and should therefore not be copied to the nix store. This is particularly bad, if the Everything module is defined in an agda library included directory, e.g. consider an agda-lib with include: . and Everything.agda in the project root (.), in which case the Everything module would become part of the library. If multiple such projects are in the dependency tree, the Everything module becomes ambiguous and the build would fail.
2021-01-22agda.withPackages: use GHC with ieee754 as defaultAlexander Ben Nasrallah1-1/+1
As mentioned in the package description of ieee on Hackage, ieee is deprecated in favor of ieee754.
2020-06-01agda: install literate filesAlex Rice1-1/+12
2020-05-14agda: rework builderAlex Rice1-82/+63
2019-12-30treewide: fix *FlagsRobin Gloster1-2/+2
2019-12-05Remove myself (fuuzetsu) from maintainer listsMateusz Kowalczyk1-2/+0
I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
2018-12-07agda: use exec in agdaWrapperDmitry Kalinkin1-1/+1
2018-11-08agda: use writeShellScriptbin instead of writeScriptBinMoritz Kiefer1-2/+2
This adds the shell shebang to the wrapper script. Without this, emacs and in particular agda2-mode (but probably other applications as well) return a format error when trying to execute agda.
2015-05-31agda: Remove unused/uneeded abstractions, including `postprocess`John Ericson1-18/+11
2015-05-31agda: Just `with` all of the string helper functionsJohn Ericson1-3/+3
2015-05-30agda: `postprocess` and `defaults` need not be in the scope of argsJohn Ericson1-81/+80
2015-05-30agda: Provide a `.env` like Haskell instead of `.extras`John Ericson1-19/+13
2015-05-20agda: Wrapper is no longer built by defaultJohn Ericson1-16/+23
Instead it is provided to the user who can choose whether or not to include it in the final derivati. Example of including would be: ```nix callPackage ... (self: { inherit (self.extras) extraThing; }) ``` These extras are also available downstream without being built by default. This is achieved with `passthru`.
2015-05-20agda: Agda dependencies are treated seperatelyJohn Ericson1-6/+14
- Only they are added to the optional build path (share/agda) - Only they are are passed as an include dir (share/agda) - Only they are propigatedBuildInputs
2015-05-18agda: Remove `extraBuildFlags`John Ericson1-6/+5
This is unused, future users can just use override `buildFlags` and extend/replace as needed. `includeDirs` is provided for this purpose. We should add `dirOf self.everythingFile` rather than `.`, but `dirOf` breaks on relative paths so that is not an option.
2015-05-18agda: Remove buildTools, it is unusedJohn Ericson1-3/+1
2015-05-17agda: Replace `eval` with `runHook`John Ericson1-6/+6
This is what haskell-ng does, so I figure it is the right thing to do.
2015-05-17agda: Remove unnecessary env-var exportJohn Ericson1-1/+0
Derivation attributes are automatically exported as environment variables already.
2015-04-06agda: migrate to haskell-ng, update and cleanupNikolay Amiantov1-1/+1
Resolves https://github.com/NixOS/nixpkgs/pull/7172.
2014-09-01Add a builder for Agda packages.Mateusz Kowalczyk1-0/+95