Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/runeksvendsen/all-hackage-ghc-pkg
Build a Nix shell with all (working) Hackage packages installed in the GHC package DB
https://github.com/runeksvendsen/all-hackage-ghc-pkg
Last synced: 11 days ago
JSON representation
Build a Nix shell with all (working) Hackage packages installed in the GHC package DB
- Host: GitHub
- URL: https://github.com/runeksvendsen/all-hackage-ghc-pkg
- Owner: runeksvendsen
- License: other
- Created: 2023-08-15T14:42:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-06T08:39:48.000Z (7 months ago)
- Last Synced: 2024-05-06T09:47:25.639Z (7 months ago)
- Language: Haskell
- Size: 396 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# All Hackage packages in GHC package DB
Obtain a shell in which all working Hackage packages are installed into the GHC package DB.
## TODO
- [ ] Implement workaround/fix for https://github.com/NixOS/cabal2nix/issues/607
- Current workaround: filter from input file passed to exe: `grep -v -e '-if-0.1.0.0.drv' good.txt > good-2.txt`
- [ ] Filter off packages that fail to build when running nix-shell for the .nix file produced by cabal2nix
- ```
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
hercules-ci-cnix-expr-0.3.5.1
```
- Current workaround: filter from input file passed to exe: `grep -v -e '-hercules-ci-cnix-expr-0.3.5.1.drv' good-2.txt > good-3.txt`## Steps
Run the Bash script produced by building [build.nix](build.nix) like so:
```bash
$(nix-build build.nix)/bin/build.sh
```