Stream: haskell-flake

Topic: install result on NixOS


view this post on Zulip tharnival (Mar 31 2026 at 12:41):

Hi, I am able to build the haskell-template project (https://github.com/srid/haskell-template) using nix run nixpkgs#omnix ci, and I get a result symlink to a text file with some /nix/store/ paths, but how do I include the built program in my system config so I can run it like any other command without entering the devshell each time? I am on NixOS, and I have a flake-based config.

view this post on Zulip Srid (Apr 12 2026 at 21:06):

@tharnival You can just use packages.default output of the flake.


Last updated: Apr 27 2026 at 13:52 UTC