File: shell.nix

package info (click to toggle)
haskell-termonad 0.2.1.0-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 268 kB
  • sloc: haskell: 1,892; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This is a file that allows you to jump into an environment to be able to build termonad.
# You can jump into this environment by running the command `nix-shell`.
#
# This also installs cabal, so you should be able to build termonad by running `cabal new-build`.
#
# In general, if you prefer to use `stack`, you probably won't use this file.

{ compiler ? "ghc843" }:

let
  nixpkgs = import .nix-helpers/nixpkgs.nix;
in

(import ./default.nix { inherit compiler; }).env.overrideAttrs (oldAttrs: rec {
  nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ nixpkgs.pkgs.haskell.packages.${compiler}.cabal-install ];
})