haskell.nix
nixpkgs
haskell.nix | nixpkgs | |
---|---|---|
15 | 998 | |
551 | 17,437 | |
1.5% | 4.3% | |
9.6 | 10.0 | |
about 19 hours ago | 1 day ago | |
Nix | Nix | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
haskell.nix
-
Why does Nix have Haskell packages that are incompatible with GHC for a given version?
I'm not a great haskeller but I found haskell.nix better for Haskell projects, like the commenter on Discourse suggested. I've had a few issued regarding package versions with nixpkgs that haskell.nix solved.
-
Simple GHC stack for a novice
FWIW, there's also libraries like haskell.nix that solve the caching problem.
-
Any up-to-date cross-compiling methods for Raspberry Pi?
I would try haskell.nix.
-
Take the Nix Pill
If you want to hurt your brain, check out haskell.nix. That's some good stuff right there ^^
-
Trying to build a statically linked binary against glibc (Linux)
The haskell.nix framework is good for this.
-
GHC 9.4.1 Windows changes
One cool thing is that this will enable GHC builds using ucrt instead of vscrt in the future. Concretely, together with NixOS/nixpkgs#171418 and its follow-up NixOS/nixpkgs#173498), this will e.g. allow haskell.nix to upgrade to a newer wine pin for TH cross compilation: https://github.com/input-output-hk/haskell.nix/blob/dd13e822529ae5342494969bce8a457522a60100/overlays/wine.nix
-
How to make stack work like it's supposed to
I've been using IOHK's alternative infrastructure for this reason. It has its quirks but I've been happier with it. Before that I think I was using developPackage from the nixpkgs haskell tooling which had some introspection ability. You may consider trying that out. But as I remember this will not abide by your version bounds.
-
Announcing `safe-coloured-text`
There's a lot to like here. Alas, despite minimal dependencies, terminfo is somehow uniquely problematic in haskell.nix.
- A question about the current state of Haskell running natively on Apple silicon:
-
Memory from finished thread is not getting reclaimed
If you are somewhat comfortable with nix: https://github.com/input-output-hk/haskell.nix supports GHCJS 8.10.x (in particular 8.10.7).
nixpkgs
- Exercise has 2M users but no money in the bank
-
Why I self host my servers (and what I've recently learned)
> manually handling such containers
Well not by hand of course. virtualisation.oci-containers is pretty darn good. Podman+systemd provides some local sandboxing. Network-wide firewall prevents odd traffic from happening.
> No reproducibility etc
Images can be pinned to specific versions providing some reproducibility guarantees. Same goes for configs mounted as volumes.
There is also some software (libedgetpu using bazel as a prime example IME) with a complicated build process. Packaging it is a major PITA and the nixpkgs issue[1] is a graveyard of attempts to do so. I just build it using a container and push the binary version to the node with coral tpu.
[1]: https://github.com/NixOS/nixpkgs/issues/188719
- Interactive NixOS Tests
-
Emacs-like editor written in Common Lisp
Has anyone used this? I was just thinking the other day that it would be nice to have an emacs-like editor written in such a way that it made performance and parallelism easier, especially around multithreading.
A real killer feature would be some kind of emacs-lisp compatibility layer so that you could load existing third-party emacs modules, but I imagine the complexity of that is so off the charts that it would be unrealistic.
Has anyone successfully packaged it for NixOS? I see this aborted attempt here: https://github.com/NixOS/nixpkgs/issues/250777 (linked from https://github.com/lem-project/lem/issues/890). If not, I guess I might just try patching the binaries rather than trying to build it from scratch, since I don't have any experience building common lisp projects in nix.
- Ask HN: What are you working on (August 2024)?
-
Managing NixOS on DigitalOcean with Colmena
So, we will create our own custom image that is supported by the DigitalOcean NixOS module.
-
SurrealEngine: Open-source reimplementation of Unreal Engine with playable UT99
I've opened a PR to nixpkgs for this, includes full instructions to get it running. https://github.com/NixOS/nixpkgs/pull/337069
-
An Introduction to Nix for Ruby Developers
let nixpkgs = import (builtins.fetchTarball { url = https://github.com/NixOS/nixpkgs/archive/ee4a6e0f566fe5ec79968c57a9c2c3c25f2cf41d.tar.gz; }) { }; targetRuby = nixpkgs.ruby_3_2; myBundler = nixpkgs.bundler.override { ruby = targetRuby; }; gems = nixpkgs.bundlerEnv { inherit (nixpkgs) ruby_3_2; name = "rails-gems"; bundler = myBundler; gemfile = ./Gemfile; lockfile = ./Gemfile.lock; gemset = ./gemset.nix; }; in nixpkgs.mkShell { buildInputs = [ targetRuby gems gems.wrappedRuby nixpkgs.bundler nixpkgs.bundix nixpkgs.nodejs nixpkgs.yarn nixpkgs.postgresql ]; }
- Netdata is shipping their new dashboard as closed source blobs
-
Security Issues in Matrix's Olm Library
I usually keep myself out of HN discussions but some clients's issues are listed at https://github.com/NixOS/nixpkgs/pull/334638 from Nix's side, which includes Cinny, Fluffychat, nheko, which are the 3 non-Element "Featured clients" listed on Matrix.org.
What are some alternatives?
Cabal - Official upstream development repository for Cabal and cabal-install
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
static-haskell-nix - easily build most Haskell programs into fully static Linux executables
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix-doom-emacs - doom-emacs packaged for Nix
git-lfs - Git extension for versioning large files
polysemy - :gemini: higher-order, no-boilerplate monads
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
frp-zoo - Comparing many FRP implementations by reimplementing the same toy app in each.
easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
haskell-nix - Nix and Haskell in production
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.