diff options
author | Ben Sima <ben@bsima.me> | 2019-02-23 21:46:13 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-02-23 21:46:13 -0800 |
commit | 5dea32c8b804c24ee0bc8c75b14f93b43772b47f (patch) | |
tree | 2bd6d24e3c1ed742c53c18cc7b926311a68a1f6f /README.md | |
parent | f75eaf7fff963b88e412d315d0fdef8151943c20 (diff) |
Get rid of cabal
Using just nix and ghc, ah it's so nice.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -4,11 +4,12 @@ aero browser apps, compiled with ghcjs apex server-side api stuff + bild temporary storage for build artifacts chip executable scripts in python, bash depo for deployment, machine-specific nix code, like networking.nix lore shared code, libraries, general code mode nixos modules; services and modular config - pack nix packages, like ibb/default.nix, & external packages that we import + pack nix packages & external packages that we import soar s3/spaces assets, like images, via git-annex Makefile instructions for building the artifacts default.nix contains all the build stuff, combines everything, builds the entire system @@ -19,13 +20,13 @@ This isn't totally in place yet, but it's something to work toward. To get a development shell, for example to work on ibb, you can do: - $ nix-shell pack/ibb.nix + $ nix-shell pack --attr ibb $ ghci - GHCi, version 8.4.3: http://www.haskell.org/ghc/ :? for help + GHCi, version 8.4.4: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/ben/src/biz/.ghci - λ :load apex/Main.hs + λ :load apex/Ibb.hs [1 of 2] Compiling Influencers ( apex/Influencers.hs, interpreted ) - [2 of 2] Compiling Main ( apex/Main.hs, interpreted ) + [2 of 2] Compiling Ibb ( apex/Ibb.hs, interpreted ) Ok, two modules loaded. # Deployment |