1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
Commit graph

68 commits

Author SHA1 Message Date
Silvan Mosberger adfd54a8f2
idrisPackages.build-idris-package: Install binaries 2019-04-28 16:54:32 +02:00
Silvan Mosberger 93143b02d5
Merge pull request #58320 from Infinisil/fix-idris-glfw
idrisPackages.glfw: Fix runtime
2019-04-28 16:53:32 +02:00
Silvan Mosberger 271403c69b
idrisPackages.idris-wrapper: Use stdenv's cc instead of always gcc
This should make it work on Darwin with clang.
2019-03-26 04:16:19 +01:00
Silvan Mosberger cfd2e6731a
idrisPackages.idris-wrapper: Fix linking to gmp library
This has been broken since 5d18129ce8,
which updated idris from 1.3.0 to 1.3.1, which included
https://github.com/idris-lang/Idris-dev/pull/4472 as the cause of the
error. I'm still not entirely sure why this broke it though.

This now way should be rather future proof, it uses NIX_CFLAGS to pass
gpm link flags to our CC wrapper directly. The
`NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST` part I'm pretty sure
is needed for the CC wrapper to know that those CFLAGS are meant for the
cc running on the HOST.
2019-03-26 04:16:14 +01:00
Silvan Mosberger 321ec862de
idrisPackages.glfw: Fix runtime
In order to run programs, pkgconfig needs to be present so it can tell
it where to find glfw3 and gl.
2019-03-26 04:09:24 +01:00
TG ⊗ Θ 50087e01c4 idrisPackages.tparsec: 2018-11-09 -> 2018-12-21 2019-02-05 18:25:25 +01:00
Jakob Brünker e0bcc7f082 idris-modules/curses.nix: delete
The repository is currently unmaintained and cannot be guaranteed to
work.
2019-01-04 13:44:37 +01:00
TG ⊗ Θ 551ffccf98 idrisPackages.tparsec: 2018-06-26 -> 2018-11-09 2018-12-20 15:52:20 +01:00
Silvan Mosberger 41b55b3508
idrisPackages.{categories,derive}: Use upstream instead of forks
These forks were introduced in https://github.com/NixOS/nixpkgs/pull/42861 to
make the builds succeed. The changes have since been incorporated
upstream.
2018-10-26 11:15:10 +02:00
TG x 7e0f7a0b54 build-idris-package: ipkgName 2018-09-18 10:38:59 +02:00
Imuli a6e17d6f11 idrisPackages.quantities: init at 2018-04-17 2018-08-04 23:10:43 -04:00
Imuli 632bda238f idrisPackages.graphviz: fix homepage (#44355) 2018-08-02 16:24:48 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger 1d94e4c363
idris: prefix package derivation names with "idris-" 2018-07-16 16:00:42 +02:00
Silvan Mosberger 4b9985c668
Merge pull request #42861 from Infinisil/fix/idris-forks
Idris packages clean ups and updates
2018-07-08 23:24:11 +02:00
Silvan Mosberger 5f620d0e22
build-idris-package: includePreludeBase -> noPrelude, noBase
Resembles idris --noprelude and --nobasepkgs arguments
2018-07-05 19:10:27 +02:00
Silvan Mosberger ef0073410d
idrisPackages.semidirect: 2018-02-06 -> 2018-07-02, fix build 2018-07-02 15:39:52 +02:00
Silvan Mosberger 0ca2744df3
idrisPackages.eternal: 2018-01-25 -> 2018-07-02, fix build 2018-07-02 14:07:44 +02:00
Silvan Mosberger cefa098cd8
idrisPackages.derive: 2018-02-15 -> 2018-07-02, fix build 2018-07-02 06:43:15 +02:00
Silvan Mosberger c6c726bdfd
idrisPackages.categories: 2017-03-01 -> 2018-07-02, fix build 2018-07-02 06:43:15 +02:00
Silvan Mosberger 74d2b01db5
idrisPackages.tparsec: 2017-12-12 -> 2018-06-26, fix build 2018-07-02 06:43:15 +02:00
Silvan Mosberger 0519b48ab8
idrisPackages.setoids: 2017-03-13 -> 2018-06-18, fix build 2018-07-02 06:43:15 +02:00
Silvan Mosberger df6974cff2
idrisPackages.{sdl,sdl2}: Mark as broken 2018-07-02 06:43:15 +02:00
Silvan Mosberger 603d989ef4
idrisPackages.descncrunch: Mark as broken 2018-07-02 06:43:15 +02:00
Silvan Mosberger b73f540beb
idrisPackages: Clean up packages 2018-07-02 06:13:01 +02:00
Silvan Mosberger e79b302f89
idris: Clean up package builder 2018-07-02 06:13:01 +02:00
Silvan Mosberger 7ec54c61b7
idrisPackages: install docs 2018-07-02 06:13:01 +02:00
Silvan Mosberger 636cd3cba9
idris: Clean up wrapper 2018-07-02 02:35:46 +02:00
Silvan Mosberger b6cfa372f0
idris: Wrap with IDRIS_CC
Previously idris used the C compiler from PATH for the C backend, which
means that the results and whether it even succeeds can vary between
systems (e.g. if a Nix-built Idris was used on a super old Linux system,
the cc installed there might not even work for Idris' C).

To make this more predictable, this commit sets the IDRIS_CC env var,
which Idris will prefer over searching in PATH, to a Nix-provided gcc
executable, given that it is not already set, so it's still possible to
override.
2018-07-02 02:34:31 +02:00
Silvan Mosberger ebc7d20190 idrisPackages.bi: 2018-01-17 -> 2018-06-25 (#42621) 2018-06-26 22:14:17 +02:00
Matthew Bauer a0f4d19925 treewide: use appendToName where appropriate
Using appendToName preserves the version at the end of the name.
2018-05-25 15:48:31 -05:00
Márton Boros bf02618e1f idrisPackages.vdom: init at 0.6.0 2018-05-08 11:41:52 +02:00
Graham Christensen 92d53362d4
Move all nixpkgs doc files in to the doc directory
This makes a makefile-driven developer workflow nicer.
2018-03-25 19:52:00 -04:00
Márton Boros 23ee7c9d8d idrisPackages: add packages 2018-03-20 07:16:21 +01:00
Márton Boros 4d4171d5f6 idrisPackages.wl-pprint: 2016-09-28 -> 2017-03-13 2018-03-09 10:22:53 +01:00
Márton Boros 4f1d26288f idrisPackages: fix errors 2018-03-09 09:57:18 +01:00
Matthew Pickering 947e7d80b4 Refactor Idris packaging infrastructure
The main two changes are

1. Completely rewrite how with-packages works to remove use of envHooks
2. The package description is now an idris specific set rather than
    being a subset of the arguments to mkDerivation. This mirrors the
    way Haskell packages are treated.
2018-02-07 19:25:50 +00:00
Matthew Pickering 8d55538f97 Revert "idris: Move library setup to the setup hook."
This reverts commit 69d4adee1f.
2018-02-07 19:24:31 +00:00
Márton Boros 2996be511d
Undo spacing difference 2018-02-03 10:17:24 +01:00
Márton Boros e3220fe6b5
Merge branch 'master' into fix-idris-modules 2018-02-03 10:12:37 +01:00
Shea Levy 69d4adee1f
idris: Move library setup to the setup hook.
This was broken in preHook because addEnvHooks isn't defined yet.
2018-01-20 19:58:06 -05:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Márton Boros 92538f0a54 idris: fix modules 2017-12-26 10:55:17 +01:00
Vanessa McHale ab2038d573 specdris: init at 2017-11-11 (#31544) 2017-11-21 22:59:38 +00:00
Matthew Pickering 40124cd0cf Add wrapper for idris exe for gcc/gmp runtime deps
Fixes #10450

When compiling packages with -o the executable invokes gcc.
There is no compile time flag to control this invocation so for
now we create a wrapper which provides the dependency at runtime.
2017-11-02 23:14:12 +00:00
Matthew Pickering b8a7c455f6 Fix idrisPackages.with-packages
1. The ln step was failing due to a file already existing
2. gcc was invoked directly which caused failure on OS X.
2017-10-30 12:25:33 +01:00
xd1le 98c7361d3b idrisPackages.lightyear: 2016-08-01 -> 2017-09-10 2017-10-19 02:03:36 +11:00
Shea Levy 1a1ad1a17d Revert "Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs"
This reverts commit c3af1210b4, reversing
changes made to 49f175cd0c.
2017-09-29 09:11:26 -04:00
Shea Levy c3af1210b4 Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs 2017-09-28 18:10:50 -04:00
Tuomas Tynkkynen 0c368ef02f treewide: Escape backslash in strings properly
"\." is apparently the same as "." wheras the correct one is "\\."
2017-09-14 01:03:39 +03:00