The year is 2040.
In Nixpkgs, all calls to mkDerivation have been replaced with mkAIDerivation.
Reproducibility is lost.
There is no hope for humankind.
github.com/cdepillabout/mkAI…
cdepillabout retweeted
Join us in Chicago for an evening of functional programming discussions and networking! Enjoy beer, pizza, and lightning talks while connecting with fellow enthusiasts.
Jan 16th, 2025 @ 6:00 PM / 325 W. Huron
Hosted by Bitnomial, a leader in US digital asset futures
I wrote a little tool in #haskell that takes an input shell script, and turns it into a series of shell scripts that only consist of shebang lines:
github.com/cdepillabout/sheb…
I also came up with a programming puzzle / challenge related to this: github.com/cdepillabout/sheb…
cdepillabout retweeted
Replying to @cdepillabout
That is very cute and clever and if I ever saw someone do that in real code I would get offended
Sometimes in older GHCs in #Haskell you want an easy way to write multi-line strings, without having to manually concatenate, or pull in a QuasiQuoter. Here's a method you probably shouldn't use:
I put together an example repo of how to build a fully statically-linked x86-64 Linux #Haskell binary using #Nix. Everything is documented, so you should hopefully be able to use this to get started with static linking:
github.com/cdepillabout/exam…
I wrote a short blog post introducing Cloudy:
functor.tokyo/blog/2024-09-2…
I recently released a new CLI tool `cloudy`. It makes it easy to spin up temporary compute instances on various cloud providers.
I'm trying to make it feel similar to `docker run` or `vagrant`, but for running one-off applications in the cloud:
github.com/cdepillabout/clou…
I recently released a new CLI tool `cloudy`. It makes it easy to spin up temporary compute instances on various cloud providers.
I'm trying to make it feel similar to `docker run` or `vagrant`, but for running one-off applications in the cloud:
github.com/cdepillabout/clou…
cdepillabout retweeted
I put my weeder-in-nix learnings together in this repository so now you can use weeder from Nix too: github.com/NorfairKing/weede…
I wrote a blog post about FODONUTs: fixed-output derivations for operating network-utilizing tests in #Nix. Helpful if you want to run internet-accessing tests in a Nix derivation, and you don't want to worry about constantly updating a hash for a FOD.
functor.tokyo/blog/2023-07-2…
I still think about this tweet quite often.
On one hand, it paints #Nix in too good of a light. It can be pretty difficult to get some pieces of software building with Nix. Especially for beginners.
On the other hand, Nix does feel like a super power once you get used to it.
I just released a #Nix library called `evil-nix`. It lets you download arbitrary files from the internet in Nix without requiring a hash of the file. It even works in Nix's `pure-eval` mode.
github.com/cdepillabout/evil…
I wrote a blog post introducing some of the ideas behind the `bound` #Haskell library, as well as trying to come up with a helpful free-monad-like structure.
functor.tokyo/blog/2023-05-1…
I finally decided what language to use this year for #AdventOfCode.
#Haskell's type system!
Here's a solution to day 1, part 1 as a type. I get the actual answer by causing a type error and having GHC show me what is has computed while trying to compile.
Here's my actual code.
The full solution:
github.com/cdepillabout/adve…
A Template Haskell function that embeds the input file as a type-level string:
github.com/cdepillabout/adve…
I started a blog post series showing examples of building various #Haskell projects with #Nix (#nixos) using `stacklock2nix`.
functor.tokyo/blog/2022-12-1…
The third and final post is about building Pandoc using stacklock2nix. This time I've setup Pandoc to be fully statically-linked. So you could take the Nix-built Pandoc binary and use it on any other Linux distro.
functor.tokyo/blog/2022-12-2…
I've also released a v1.0.0 of stacklock2nix:
github.com/cdepillabout/stac…









