Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/NixOS/cabal2nix

Generate Nix build instructions from a Cabal file
https://github.com/NixOS/cabal2nix

Merge pull request #616 from NixOS/localeindependence

Make hackage2nix locale independent

173e8a5fa70dc95a1aeb0bd877bf5fee6d5e6b4a authored 11 months ago by maralorn <[email protected]>
Add entry to changelog

d0b586183e0c200a714982ecc5474bb52cc077ac authored 11 months ago by maralorn <[email protected]>
Make hackage2nix locale independent

6be4ebdeb240928cc280232fe832a6a86a4e03b7 authored 11 months ago by maralorn <[email protected]>
Merge pull request #612 from NixOS/ci

.github: bump GHC 9.4 and 9.2 versions used in CI

89857ea3dc0614fac19049f45c27caaacc9f250d authored about 1 year ago by sternenseemann <[email protected]>
.github: bump GHC 9.4 and 9.2 versions used in CI

e272dc0359225b444ca7b05467449008b6bba196 authored about 1 year ago by sternenseemann <[email protected]>
cabal2nix: don't emit man postInstall script for pandoc >= 3.1.10

The man page was moved from the pandoc release tarball to the pandoc-cli
tar ball. We'll just st...

e394e96c51cc7a2858145e710fbedbb2cb57f6ec authored about 1 year ago by sternenseemann <[email protected]>
Merge pull request #570 from fricklerhandwerk/nix-shell-environment

move instructions for nix-shell to top of section

5551800dec6fdf379f549ee591f29ef99807bbb3 authored about 1 year ago by sternenseemann <[email protected]>
Merge pull request #611 from cdepillabout/tz-and-tzdata

Setup tz package overrides to reference system tzdata package correctly

3f23ae1dda9a5bbe5f560e3cfe521efc9675f668 authored about 1 year ago by sternenseemann <[email protected]>
Remove tz Haskell package override from cabal2nix

We've decided that the entire tz override doesn't make sense in
cabal2nix.

The tests for the tz...

945e8ee8491424d4e335152b2932b63757838c17 authored about 1 year ago by Dennis Gosnell <[email protected]>
tz package overrides don't need to explicitly set TZDIR

The `tzdata` system package has a setup hook that sets the `TZDIR` env
var.

This was suggested ...

c2b01f600924969a349f15120d1bfe58c80ac6b8 authored about 1 year ago by Dennis Gosnell <[email protected]>
Setup tz package overrides to reference system tzdata package correctly

This commit changes the cabal2nix hooks for the `tz` Haskell package.
Originally, the `tz` packa...

42f3e98abbdd95bd795e56a3485a3b948caf3f63 authored about 1 year ago by Dennis Gosnell <[email protected]>
Merge pull request #609 from cdepillabout/graphene

Add libNixName for graphene-gobject

2099a1f4594f621bb1a2879b793b860aefe4c027 authored about 1 year ago by maralorn <[email protected]>
Add libNixName for graphene-gobject

78af631a8f83165529b7e8b90dc6611ed5dfd037 authored about 1 year ago by (cdep)illabout <[email protected]>
cabal2nix: resolve all icu libraries with pc files to icu

Co-authored-by: sternenseemann <[email protected]>

0365d9b77086d26ca5197fb48019cedbb0dce5d2 authored over 1 year ago by Ben Orchard <[email protected]>
distribution-nixpkgs/derivation-attr-paths.nix: clean up var usage

f396ee650dd526ac5c5d66cc350733f40a488e5b authored over 1 year ago by sternenseemann <[email protected]>
Merge pull request #605 from tbidne/rest-rewrite

cabal2nix: Add graphviz and z3 to rest-rewrite test deps

6b3d10bd0e9b2ec6f0667402609cfa260fdaf0ad authored over 1 year ago by Dennis Gosnell <[email protected]>
cabal2nix: Add graphviz and z3 to rest-rewrite test deps

7b8cf293448cd764ff114a1ba03133f89efe607d authored over 1 year ago by Tommy Bidne <[email protected]>
Merge pull request #602 from sternenseemann/liblzma

cabal2nix: support pkg-config name liblzma for pkgs.xz

078350047d358bb450d634d775493aba89b21212 authored over 1 year ago by sternenseemann <[email protected]>
cabal2nix: support pkg-config name liblzma for pkgs.xz

Since Haskell lzma-0.0.1.0, pkg-config is used by default to describe
the dependency on the syst...

b1054cf91b3072ee1a98765d0480b195480cc45c authored over 1 year ago by sternenseemann <[email protected]>
hackage-db: take over maintainership

As with cabal2nix, let me receive the approximately zero emails sent to
that address!

010ff5c3b75d976d0f3a25b7caa0bc5bf2fdae9f authored over 1 year ago by sternenseemann <[email protected]>
Merge pull request #601 from NixOS/ci

.github: regenerate workflow with haskell-ci 0.16

5bf3bdbf1fd6f9065d2d84f1548de6d4c4edd0d8 authored over 1 year ago by sternenseemann <[email protected]>
Additionally test cabal2nix using GHC 9.4.4

We were also waiting on support in haskell-ci here. In nixpkgs this has
been working for a long ...

1ba96084e843146ecb24405e8b73809825ea9530 authored over 1 year ago by sternenseemann <[email protected]>
Test using GHC 9.2.7 instead of 9.2.2

haskell-ci 0.16 finally supports the best 9.2 GHC yet.

e221f5e2e73b111e0c352bf0c11bd1e6e290411f authored almost 2 years ago by sternenseemann <[email protected]>
.github: regenerate workflow with haskell-ci 0.16

This should also fix the problem that our workflows weren't being picked
up by any runners, as G...

3c40be303f482347b00c77ee554b0d1a53d495bd authored almost 2 years ago by sternenseemann <[email protected]>
Merge pull request #597 from athas/xdg-cabal

hackage-db: support cabal-install 3.10.1.0 XDG paths.

690a28384060bd22c0319a9db895760e6094fa3d authored almost 2 years ago by sternenseemann <[email protected]>
hackage-db: Distribution.Hackage.DB.Path: support CABAL_DIR env var

Just like cabal-install, if CABAL_DIR is set, use that for all
operations. The environment varia...

bbc9f1fe3a9fcc2eaa7748134516100294422ee5 authored almost 2 years ago by sternenseemann <[email protected]>
hackage-db: bump version to 2.1.3 and prepare changelog

Since nixpkgs unstable now ships cabal-install 3.10.1.0 (23.05 will as
well), we should get this...

56bcf7984532b44678a6dbea05f78ecd41547e8c authored almost 2 years ago by sternenseemann <[email protected]>
hackage-db: Distribution.Hackage.DB.Path: document cabalStateDir

cf924304e170369c528ce396cd10c626c99f8da8 authored almost 2 years ago by sternenseemann <[email protected]>
Merge pull request #600 from trofi/net_snpm-removal

Use 'net-snmp', not 'net_snmp' alias.

0b51091bf8acf748e116568dbc6dce3450354a98 authored almost 2 years ago by sternenseemann <[email protected]>
Use 'net-snmp', not 'net_snmp' alias.

`nixpkgs` renamed the attribute in https://github.com/NixOS/nixpkgs/commit/725f85e271b934b57383a...

7008f3f2d58fb9b2f7890fb44691902020689ddc authored almost 2 years ago by Sergei Trofimovich <[email protected]>
Merge pull request #598 from sternenseemann/distribution-nixpkgs-platforms

distribution-nixpkgs: match upstream rendering of JavaScript "arch"

4541e7090bd30063db086e6e9c3dc1dbcf8526a8 authored almost 2 years ago by sternenseemann <[email protected]>
hackage-db: support cabal-install 3.10.1.0 XDG paths.

From 3.10.1.0 onwards, cabal-install uses XDG directories to store its
state and cache component...

fa3c42d2c3d8b03a834a1740ba5ee250e6d8a488 authored almost 2 years ago by Troels Henriksen <[email protected]>
distribution-nixpkgs: match upstream rendering of JavaScript "arch"

[GHC] and following that [nixpkgs] now use the same string for the
JavaScript arch as Cabal does...

78820b6250527dd71153ecc4545314c2c8f0b834 authored almost 2 years ago by sternenseemann <[email protected]>
cabal2nix: resolve extra harfbuzz-* pkg-config names

HarfBuzz provides three pkg-config files, but only one of those matches
its attribute name in ni...

5e183d1ac819ea1beec3da6229d76d4185b026d0 authored almost 2 years ago by sternenseemann <[email protected]>
cabal2nix: resolve gmodule pkg-config names to glib attribute

This is necessary for e.g. gi-gmodule which cabal2nix can't figure out
at the moment.

6c1dc8908ba4d3c81549b3131539d0ce289cb92c authored almost 2 years ago by sternenseemann <[email protected]>
shell.nix: fix data file resolution for distribution-nixpkgs

The `Paths_*` module of distribution-nixpkgs will look in
the (theoretical) installation locatio...

5cd07f1df825084fd47cf49cf49f14569859a51c authored almost 2 years ago by sternenseemann <[email protected]>
cabal2nix: resolve libcurl pkg-config name to curl attribute name

minicurl is apparently the first package to use pkg-config-depends to
declare the curl dependenc...

d659daa7d1d7db2b13423eecbaec54001b5a9ba7 authored almost 2 years ago by sternenseemann <[email protected]>
Merge pull request #591 from oxalica/fix/multi-output-path

Use lib.get{Lib,Dev} to correctly locate outputs

d24f4eab2352468510fb81e276aab9d62e94b561 authored about 2 years ago by sternenseemann <[email protected]>
Use lib.get{Lib,Dev} to correctly locate outputs

This prevent potential breakage when upstream outputs splitting.

f4144246e307214ecfa63d85f7f16bba0bc223b9 authored about 2 years ago by oxalica <[email protected]>
Merge pull request #590 from trofi/cabal2nix-banner

hackage2nix: update banner to mention tool used to generate the file

021a48f4b4942462154b06fd81429a248638f87f authored about 2 years ago by sternenseemann <[email protected]>
Merge pull request #589 from trofi/cabal2nix-without-xlibsWrapper

cabal2nix: map 'x11' pkg-config dependency to 'libX11', not 'xlibsWra…

0c1eeff8a4be9d8dd5b6ade35420b2dfce84dd50 authored about 2 years ago by sternenseemann <[email protected]>
hackage2nix: update banner to mention tool used to generate the file

8f10905de8ee9f6153be0d57724d72dc7be3afaa authored about 2 years ago by Sergei Trofimovich <[email protected]>
cabal2nix: map 'x11' pkg-config dependency to 'libX11', not 'xlibsWrapper'

There are only 3 packages that use `xlibsWrapper` as a provider of `x11`
`pkg-config` input. The...

f85fac9734137a0d155d97cb1b67dc178e0b8918 authored about 2 years ago by Sergei Trofimovich <[email protected]>
Merge pull request #581 from sternenseemann/cabal2nix-2.19.1

cabal2nix: bump to 2.19.1 and add changelog

8e97f51e4bd4e5b9ff79391aa599ed8547771954 authored about 2 years ago by sternenseemann <[email protected]>
cabal2nix: bump to 2.19.1 and add changelog

e24f72749845daeaf9cea22484ca9af5c6dc9a5c authored about 2 years ago by sternenseemann <[email protected]>
Merge pull request #576 from NixOS/libxcrypt

cabal2nix: resolve crypt library to libxcrypt

bf7cc8f202e332953f7fbfc1d90490e4c197d287 authored about 2 years ago by sternenseemann <[email protected]>
Merge pull request #577 from NixOS/distribution-nixpkgs-1.7.0.1

distribution-nixpkgs: prepare 1.7.0.1 release

244235a7d09c3375e4459d84d1d16e6d8a29cf6c authored about 2 years ago by sternenseemann <[email protected]>
distribution-nixpkgs: prepare 1.7.0.1 release

This release is mostly for the benefit of `haskell.packages.ghc942`,
since we currently need to ...

d8c6a3d0ac2ea4ad09fd702f4ea9ec38f5603a2c authored about 2 years ago by sternenseemann <[email protected]>
cabal2nix: resolve crypt library to libxcrypt

NixOS has disabled glibc's libcrypt and is using libxcrypt now (starting
with 22.11, that is): h...

ea90aabe87b749b8fdcf65d709b919c28d56d24f authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #572 from NixOS/Cabal-3.8

Fix test suites with Cabal >= 3.8

b3ae6f9240d07ba103f1eb7ab22f6055e9cdb7dc authored over 2 years ago by sternenseemann <[email protected]>
distribution-nixpkgs: accomodate changed platform representations

Cabal 3.8 introduced the following new platform related type
constructors:

* S390X, the 64 bit ...

7959c2a39742c00cd04347fea6a857686c15e717 authored over 2 years ago by sternenseemann <[email protected]>
distribution-nixpkgs: update platform test data from nixpkgs

Newly added platforms:

* rx-none
* microblaze-linux
* microblazeel-linux
* microblaze-none
* mi...

5c99861a21373dbc0f28d7345599a2bd57be3861 authored over 2 years ago by sternenseemann <[email protected]>
cabal2nix: fix test suite compilation with Cabal >= 3.8

Seems like modules were shuffled around for some reason.

686153b313e11af87a0ada73e80cc2da9e7c5e61 authored over 2 years ago by sternenseemann <[email protected]>
shell.nix: make ghc version to use configurable

Additionally we allow disabling HLS, since it often lags behind a bit in
terms of support. To ge...

19621c941cf043f5957ecc86142d4cd824492c16 authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #564 from NixOS/monorepo

Make cabal2nix repository a monorepo

0d1a5a7d227683e9d099665f645a8618ec48ef94 authored over 2 years ago by sternenseemann <[email protected]>
Update URLs in cabal files for moved projects

240f130200f0cda85dd34b4a186127863f884943 authored over 2 years ago by sternenseemann <[email protected]>
Add top-level README for the monorepo

a3649ce02f3ce239038e7be3f7a980a100fcc459 authored over 2 years ago by sternenseemann <[email protected]>
Sync tested GHC versions and update haskell-ci workflow

* Pick the widest common set of GHC major release series to test for all
packages and bump to ...

68259571c41d0f0bbbec73cb1c02e7eef40626fc authored over 2 years ago by sternenseemann <[email protected]>
hackage-db: update CI badge URL

8a24adb1626e32030f1724deeb5867ae9e058a19 authored over 2 years ago by sternenseemann <[email protected]>
Unify .gitignore files of the included projects

* Many Haskell-related files are no longer rooted to the repository root

* hackage2nix ignores ...

53969fefb9304533a5edfbc496d45a78f0a9c6cc authored over 2 years ago by sternenseemann <[email protected]>
Update build environment for subtree-ed dependencies

Add dependencies of hackage-db, languagae-nix and distribution-nixpkgs
to shell environment, dro...

9d6c5bd36e4d8df5877c85e19605581bfbdb8306 authored over 2 years ago by sternenseemann <[email protected]>
hackage-db: subtree upstream repo

9936a978fe06fcdcba0550f2c3f2eb373ffb82eb authored over 2 years ago by sternenseemann <[email protected]>
Unify cabal.project files

c01f94f6428e00e074ad4b7c62104e821e3da822 authored over 2 years ago by sternenseemann <[email protected]>
Move cabal2nix code into cabal2nix subfolder

In preparation of making this repository a monorepo of cabal2nix and
related packages (distribut...

63ef85611324dc6bd1f12930775e56a531e4935f authored over 2 years ago by sternenseemann <[email protected]>
shell.nix: temporarily use distribution-nixpkgs_1_7_0 if available

a67c86885c206c6e5c77964568451aafc51de46b authored over 2 years ago by sternenseemann <[email protected]>
language-nix: subtree upstream repo

95f500030e99b06e75c822a74678702ffd83f85d authored over 2 years ago by sternenseemann <[email protected]>
distribution-nixpkgs: subtree upstream repo

e6346a2b150e30a5bf81ad05c4f6f882918e06b9 authored over 2 years ago by sternenseemann <[email protected]>
move instructions for nix-shell to top of section

as noted in the instructions, this is the easiest thing, and what
beginners will probably do first.

089014d3a3f88bd18c20f7d7e3fc033cc21b4ab0 authored over 2 years ago by Valentin Gagarin <[email protected]>
doc: disable fixed_sidebar to prevent it being partially hidden

If the browser window is less in height than the sidebar, it would
previously be cut off, leadin...

3a2abb2e24afe70da2e384f27ebc358ee9e0ebd3 authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #567 from 414owen/add-flac-system-mapping

Add FLAC -> flac system library mapping

e00ab24821be85cb025432f8e9c4ff56dbb00a81 authored over 2 years ago by maralorn <[email protected]>
Add FLAC -> flac system library mapping

0a222e7d556fa4f3628be8ccfcfcd19849c05124 authored over 2 years ago by Owen Shepherd <[email protected]>
Merge PR #562: Finalize CHANGELOG and bump version number

6c6fa480dd535a8a6909b60e1130a6b5bfc2a2c4 authored over 2 years ago by sternenseemann <[email protected]>
Finalize CHANGELOG and bump version number

a90dd5e2aad6c99b9bc373814736fe1903800ef0 authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #560 from sternenseemann/hackage2nix-postprocess

hackage2nix: don't discard platforms meta attr from postprocessing

9d18320d76e3f29f1787a8377125812150c59021 authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #559 from sternenseemann/derivkind-extra-cases

Distribution.Nixpkgs.Fetch: Remove unnecessary DerivKindZip

2c7cd7fb147984635685d2be3edd7a8ad46acfba authored over 2 years ago by sternenseemann <[email protected]>
hackage2nix: don't discard platforms meta attr from postprocessing

Distribution.Nixpkgs.Haskell.FromCabal.PostProcess defines logic that in
some cases prescribes a...

2f744670c3c49eb0eba948fb8c9277ce94420461 authored over 2 years ago by sternenseemann <[email protected]>
Distribution.Nixpkgs.Fetch: Remove unnecessary DerivKindZip

17d47044b34f891fe3ff4c5d05e5855dd0ae8c8a elaborated on DerivKindUrl and
DerivKindZip in the name...

cb29d34fd0a4dc1ef37e59fd221365bc51c319ec authored over 2 years ago by sternenseemann <[email protected]>
Distribution.Nixpkgs.Fetch: fix capitalisation in derivKindFunction

Some of those are valid spellings for the corresponding builtin fetcher,
but nixpkgs does not in...

d3f5bcc7f32da62563242af6345c9621531344ea authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #557 from sternenseemann/filter-buildable

Distribution.Nixpkgs.Haskell.FromCabal: mainProgram check buildable

945ba27dda168e9e4e914d468cb84d7d6c865f28 authored over 2 years ago by sternenseemann <[email protected]>
Distribution.Nixpkgs.Haskell.FromCabal: mainProgram check buildable

Naturally only a buildable executable can be the mainProgram. Checking
this property eliminates ...

a0444e47e35a545e5b31f096b74817663de9b394 authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #506 from NixOS/meta-badplatforms

distribution-nixpkgs 1.7.0

fd65bee362fb353603c89e1a145d40b4af5ff5b2 authored over 2 years ago by sternenseemann <[email protected]>
Distribution.Nixpkgs.Haskell.FromCabal: emit mainProgram

If a there is a single executable, it is obviously the mainProgram.
We'll see a lot of example b...

1f6780ab02e1e153fa10797f5f2052a68598668e authored over 2 years ago by sternenseemann <[email protected]>
Allow NixpkgsPlatformGroup, use distribution-nixpkgs for parsing

This change no longer exclusively produces `NixpkgsPlatformSinge`s. The
main hurdle for this was...

7c0b9b33f59fb9e108998cc239989a7486c55558 authored over 2 years ago by sternenseemann <[email protected]>
Add supported-platforms configuration field

`supported-platforms` gets mapped to the individual packages'
`platforms` meta field, so that, f...

83d5a178fb02620585f137623bbe7da65d7eef2c authored over 2 years ago by sternenseemann <[email protected]>
Request distribution-nixpkgs >= 1.7

b99eaf9143b56b97fa20601492e291e1b6924335 authored over 2 years ago by sternenseemann <[email protected]>
Preliminary badPlatforms and nixpkgs platforms support

d173c09d1059a420b65db1a7b3243ba3a735618b authored over 2 years ago by sternenseemann <[email protected]>
Merge pull request #555 from sternenseemann/platform-parsing-unified

Distribution.Nixpkgs.Haskell.Platform: unify CLI platform parsing

33ab94dbf67367699065c8dd8078a8cf41900706 authored over 2 years ago by sternenseemann <[email protected]>
Distribution.Nixpkgs.Haskell.Platform: unify CLI platform parsing

In the cabal2nix project there are two flags that accept some kind of
string that needs to be co...

733d58d12226e8a729257cc2047e212d5c809b3d authored over 2 years ago by sternenseemann <[email protected]>
Prohibit distribution-nixpkgs 1.7.0

cabal2nix won't compile with this version of distribution-nixpkgs, yet.

b727cd6ddcaf214cd61004b6cac2c0c838ee4bcd authored over 2 years ago by sternenseemann <[email protected]>
doc(Meta): use lens to set up the Meta record in the example

This is the actual, recommended way to do it. The constructor is not
available to users anyways....

87c85199fd7058dd3d0e848aaa5877eaccb4b6ed authored over 2 years ago by sternenseemann <[email protected]>
doc(Meta): describe nullMeta

5295b02392a55328f47d7b7b9ee5cc087b326105 authored over 2 years ago by sternenseemann <[email protected]>
feat(Meta): no longer export cabalPlatformFromSystem

This function is not a general purpose conversion from a Nix system to a
Cabal Platform. We use ...

8bf6eb04a53b92623dbdbc917720b06d8d1532b2 authored over 2 years ago by sternenseemann <[email protected]>
doc(Meta): warn about cabalPlatformFromSystem's differing parsing

Due to the reasons stated here, cabalPlatformSystem should always never
be used and it is probab...

0c2f817ce0f4d2f03c09c5fef4ffa99676998bc5 authored over 2 years ago by sternenseemann <[email protected]>
doc(Meta): remove mention of removed function fromCabalPlatform

0a6482f0c17123431787d369f3b725470db339d0 authored over 2 years ago by sternenseemann <[email protected]>
chore: update CHANGELOG for 1.7.0

59c299649cc6c3989b452cd14f2e7228b3326346 authored over 2 years ago by sternenseemann <[email protected]>
test(Meta): add doctest examples to cabalPlatformFromSystem

10e695b6067e84d8e3058d090539816b6171c17d authored over 2 years ago by sternenseemann <[email protected]>
feat(Meta): add support for setting meta.mainProgram

Upstream haskellPackages.mkDerivation supports this since
https://github.com/NixOS/nixpkgs/pull/...

36f9ccb43d96bb1f20e47856ccd138927c889aa8 authored over 2 years ago by sternenseemann <[email protected]>
feat(hspec): add tooling to update the system tuple test suite

4b44c476c306ce58a322bb82c0fddadf9a4d46a4 authored over 2 years ago by sternenseemann <[email protected]>
refactor(hspec): group rendering and parsing tests by platform str

994d5df11937cdd9ec33270b05246775bad33907 authored over 2 years ago by sternenseemann <[email protected]>
feat(Meta): implement parsing of NixpkgsPlatform from config format

nixpkgsPlatformFromString defines a simple string based format for
specifying NixpkgsPlatforms w...

19977a151d5f5ba8368ac5b4aa96e28ce253f063 authored over 2 years ago by sternenseemann <[email protected]>