ghcWithHoogle builds with this patch applied, but it's probably still broken in
the sense that links might point nowhere or that the generated databases and/or
documentation might be incomplete.
In line with the Nixpkgs manual.
A mechanical change, done with this command:
find pkgs -name "*.nix" | \
while read f; do \
sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
done
I manually skipped some:
* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
generic-stack-builder was not setting STACK_PLATFORM_VARIANT="nix".
This is required by stack when handling its haskell packages database
snapshot. Stack must keep separated packages built with its own GHC
and those built with GHC from Nixpkgs.
This update was generated by hackage2nix v20160613 using the following inputs:
- Hackage: b9e58743e7
- LTS Haskell: 2a2cddb443
- Stackage Nightly: 4b8c8abac5
Without this patch, attempts to install at least some of the packages
that start to use setupHaskellDepends (mostly gtk-related packages)
results in collisions:
building path(s) ‘/nix/store/63k5smns43f5r2ad8wcc242x0gwd70m3-ghc-8.0.1’
collision between `/nix/store/k18i1nm5hgnb82y9w2g9hmlwhk3szjld-ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi' and `/nix/store/0rwhbwsg9kmywgbrib2bs29p2hmi80za-Cabal-1.24.0.0/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi'
builder for ‘/nix/store/vrjkfpm8sb96m9i5k74h8vn0rwddgy4v-ghc-8.0.1.drv’ failed with exit code 25
This would appear to me to be a consequence of setupHaskellDepends
entries being added to propagateBuildInputs. It is sufficient in the
cases I'm familiar with (taffyBar), and I think correct, to simply add
it to the otherBuildInputs.
Previously, the user could only compile using the default version of
GHC in Nixpkgs. Now this can be changed by setting the `ghc` attribute
appropriately.
The function "callHackage <name> <version>" generates build instructions for
the requested library version on-the-fly. All of Hackage is available. Note:
this code is brand-new, experimental, and it might change in the future. Don't
base production code on this feature yet.
Example usage:
$ nix-shell -p 'haskellPackages.callHackage "cpphs" "1.19.3" {}' --run "cpphs --version"
cpphs 1.19.3
$ nix-shell -p 'haskellPackages.ghcWithPackages (self: [(self.callHackage "hsdns" "1.6.1" {})])' --run "ghc-pkg list hsdns"
/nix/store/p6r81k2vb2pzy4wcvri6z9m492i0hg63-ghc-8.0.1/lib/ghc-8.0.1/package.conf.d
hsdns-1.6.1
This update was generated by hackage2nix v20160611 using the following inputs:
- Hackage: 8f99b2654a
- LTS Haskell: 1a80e0660e
- Stackage Nightly: 504ee2b3bb
This update was generated by hackage2nix v20160406-38-g2269395 using the following inputs:
- Hackage: 65d1dbe8dd
- LTS Haskell: 1a80e0660e
- Stackage Nightly: 5863aeaee3
Now we're releasing incomplete Hackage tarballs on purpose:
http://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
You know, I'll fix this shit one last time, but on the next occasion
upstream breaks the build for no apparent reason, I'm going to abandon
this project and leave it to someone else to package, because these kind
of wacko engineering decisions cast a bad light on the soundness of
git-annex as a whole, IMHO.
This update was generated by hackage2nix v20160406-35-g2a2d30b using the following inputs:
- Hackage: 7a03eee484
- LTS Haskell: 1a80e0660e
- Stackage Nightly: 7e90e5529b
These overrides didn't work, because they created a mixture of different
versions of 'persistent' in the build tree. Furthermore, we cannot pin
specific versions like that in configuration-common.nix because this
breaks builds in other package sets, i.e. the LTS variants.
This update was generated by hackage2nix v20160406-31-gd9dda87 using the following inputs:
- Hackage: 4c643345f3
- LTS Haskell: 1a80e0660e
- Stackage Nightly: 3ba38d9d9e
This update was generated by hackage2nix v20160406-30-g704cd27 using the following inputs:
- Hackage: 5f6653ffd9
- LTS Haskell: 042ef2187b
- Stackage Nightly: a2b989788f
This update was generated by hackage2nix v20160406-28-g35f7635 using the following inputs:
- Hackage: 21e9bc8a5e
- LTS Haskell: 042ef2187b
- Stackage Nightly: 2f54d84973
A change in the way the gtk2hs libraries make use of gtk2hs-buildtools
caused them to move the dependency into a stanza where cabal2nix doesn't
pick it up---so we need to do these by hand for the moment.
This update was generated by hackage2nix v20160406-27-gc573068 using the following inputs:
- Hackage: b000a1eee6
- LTS Haskell: 042ef2187b
- Stackage Nightly: c7757d46b6
This update was generated by hackage2nix v20160406-13-gf11ffc0 using the following inputs:
- Hackage: 42718c5830
- LTS Haskell: 4910435899
- Stackage Nightly: f92320d2fa
This update was generated by hackage2nix v20160406-11-g659087e using the following inputs:
- Hackage: a7fe14b44c
- LTS Haskell: e1becfd6f8
- Stackage Nightly: fac5530021
This update was generated by hackage2nix v20160406-11-g659087e using the following inputs:
- Hackage: 62d7be84b9
- LTS Haskell: 4d628b7b7e
- Stackage Nightly: 186e5fa04d
This update was generated by hackage2nix v20160406-9-g3afe33e using the following inputs:
- Hackage: f392208d72
- LTS Haskell: 4d628b7b7e
- Stackage Nightly: 7135a992a4
This update was generated by hackage2nix v20160406-5-gcb85ef4 using the following inputs:
- Hackage: 24af5f79f4
- LTS Haskell: 4d628b7b7e
- Stackage Nightly: 2b431f312c
This update was generated by hackage2nix v20160406-3-gd7a4f81 using the following inputs:
- Hackage: e8b3512fba
- LTS Haskell: 573e5576f2
- Stackage Nightly: 70928b4eec
This update was generated by hackage2nix v20160406-2-gc07fcb5 using the following inputs:
- Hackage: 3346eec54c
- LTS Haskell: 573e5576f2
- Stackage Nightly: 70928b4eec
- Reconfigure OpenGL/CL related packages to propagate the necessary
framework dependencies.
- Disable tests on all versions of c2hs so package sets such as LTS
releases work.
Closes https://github.com/NixOS/nixpkgs/pull/14609.
This update was generated by hackage2nix v20160406-1-ge7059e3 using the following inputs:
- Hackage: 4d5f229e9e
- LTS Haskell: 924977cc28
- Stackage Nightly: 0002f21766
This update was generated by hackage2nix v20160406 using the following inputs:
- Hackage: 2266fbc644
- LTS Haskell: 7a74143acf
- Stackage Nightly: 5e435cbedb
This update was generated by hackage2nix v20160308-5-g3e915af using the following inputs:
- Hackage: 57b937334d
- LTS Haskell: 7a74143acf
- Stackage Nightly: 658d91e0e0
This update was generated by hackage2nix v20160308-3-g8057d11-dirty using the following inputs:
- Nixpkgs: 840709b4a3
- Hackage: ab666959f0
- LTS Haskell: 6c45757bda
- Stackage Nightly: d8a2cae779
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: bba4f2bbe3
- Hackage: ab666959f0
- LTS Haskell: 6c45757bda
- Stackage Nightly: d8a2cae779
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: 9da84a6af0
- Hackage: 1e26fd1876
- LTS Haskell: 6c45757bda
- Stackage Nightly: d8a2cae779
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: cc6b62965c
- Hackage: 8103415143
- LTS Haskell: 6bcb171af7
- Stackage Nightly: 26f7d11e37
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: 3b6870536f
- Hackage: f6dcb81d2a
- LTS Haskell: 6bcb171af7
- Stackage Nightly: fbf2e48e58
This update was generated by hackage2nix v20160308-3-g8057d11 using the following inputs:
- Nixpkgs: 8b2661d933
- Hackage: c6f8f98e57
- LTS Haskell: 6bcb171af7
- Stackage Nightly: fbf2e48e58
This update was generated by hackage2nix v20160308-2-g1fd2040 using the following inputs:
- Nixpkgs: 5963f785c9
- Hackage: 918817d060
- LTS Haskell: 6bcb171af7
- Stackage Nightly: fbf2e48e58
Also update list of broken packages in configuration-hackage2nix.yaml.
This update was generated by hackage2nix v20160308 using the following inputs:
- Nixpkgs: 47c2c01ea7
- Hackage: 435f8156b7
- LTS Haskell: 6bcb171af7
- Stackage Nightly: a161c91389
Also, update the list of broken builds in configuration-hackage2nix.yaml.
`hs-blake2` currently wrongly depends on `pkgs.b2` which is an application
for backblazes storage service. This patch overrides it to link against
its correct native library `pkgs.libb2`.
This update was generated by hackage2nix v20151217-13-g1932303 using the following inputs:
- Nixpkgs: 048b08e2df
- Hackage: 9380d724dd
- LTS Haskell: d2ad5fe903
- Stackage Nightly: 04ed93d830
Before:
```
error: getting status of
‘/home/user/nixpkgs/pkgs/development/development/haskell-modules/generic-stack-builder.nix’:
No such file or directory
```
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
This commit enables all haskellPackages builds so that we can discover builds
that have been fixed recently.
This update was generated by hackage2nix v20151217-12-g567601b using the following inputs:
- Nixpkgs: a67868f060
- Hackage: 1c84c94e14
- LTS Haskell: d2ad5fe903
- Stackage Nightly: c1be20cfc0
This update was generated by hackage2nix v20151217-12-g567601b using the following inputs:
- Nixpkgs: 82be4306ae
- Hackage: 300be01a10
- LTS Haskell: 45f9a3dc16
- Stackage Nightly: 18441cd11a
This update was generated by hackage2nix v20151217-10-ga610b1b using the following inputs:
- Nixpkgs: 096bee7aef
- Hackage: 735e006a18
- LTS Haskell: bbcada892f
- Stackage Nightly: b41dbc58b2
GHCJS uses integer-gmp, but cabal2nix generates a dependency list that
includes integer-simple instead. This tweaks the stage2 generator to
replace any instance of integer-simple with integer-gmp.
Things currently still work without this change (assuming
integer-simple is defined as null), as ghcjs includes integer-gmp in
its stage1 packages - so it's always available.
However, this change makes things a bit more explicit, rather than
leaving things to chance. If at any point the stage1 packages are also
split up into separate derivations, the integer-gmp package will need to
be passed along to the packages that depend on it. This change should
prevent some confusion going forward.
Previously, we were compiling Setup.hs with ghcjs (instead of ghc),
and that required that Cabal be available, otherwise the Setup.hs would
fail to compile.
Now that we are compiling Setup.hs with ghc, it's no longer necessary
to add Cabal as a dependency to all ghcjs packages.
This update was generated by hackage2nix v20151217-10-ga610b1b using the following inputs:
- Nixpkgs: 94492ca848
- Hackage: b3a9ab4a60
- LTS Haskell: e7c3629999
- Stackage Nightly: b98e7e2d4f