forked from spectrum-finance/cardano-dex-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
executable file
·34 lines (31 loc) · 983 Bytes
/
default.nix
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
29
30
31
32
33
34
########################################################################
# default.nix -- The top-level nix build file for cardano-dex-backend.
#
# This file defines various attributes that are used for building and
# developing cardano-dex-backend.
#
########################################################################
let
# Here a some of the various attributes for the variable 'packages':
#
# { pkgs
# cardano-dex-backend: {
# haskell: {
# project # The Haskell project created by haskell-nix.project
# packages # All the packages defined by our project, including dependencies
# projectPackages # Just the packages in the project
# }
# hlint
# cabal-install
# stylish-haskell
# haskell-language-server
# }
# }
packages = import ./nix;
inherit (packages) pkgs cardano-dex-backend;
project = cardano-dex-backend.haskell.project;
in
{
inherit pkgs cardano-dex-backend;
inherit project;
}