1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# This is the main nix file for Termonad. It will build the `termonad`
# executable. It will place it in a "wrapped" environment so that Termonad can
# find GHC and a few Haskell libraries. This wrapped Termonad will be able to
# rebuild its configuration file (which should be located at
# `~/.config/termonad/termonad.hs`).
#
# Termonad can be built with the command `nix-build` in the main top
# directory.
#
# The `termonad` executable will be created at `result/bin/termonad`. With
# this default setup, you will be able to use the haskell packages `lens` and
# `colour` in your `~/.config/termonad/termonad.hs` file, as well as the
# Termonad package itself.
#
# If you want to install termonad into your environment, you can use `nix-env`
# from the main top directory:
#
# $ nix-env --file default.nix --install
{ nixpkgs ? null
, additionalOverlays ? []
, compiler ? null
, buildExamples ? false
, enableSixelSupport ? false
}@args:
(import .nix-helpers/nixpkgs.nix args).termonad-with-packages
|