Add build instructions for nix
parent
6c187da8f8
commit
f68fbb3118
|
@ -12,3 +12,4 @@ local/
|
||||||
cabal.sandbox.config
|
cabal.sandbox.config
|
||||||
cabal.project.local
|
cabal.project.local
|
||||||
.ghc.environment.*
|
.ghc.environment.*
|
||||||
|
result
|
|
@ -94,6 +94,12 @@ log the size of the input, but _not_ the full input/output of requests.)
|
||||||
aura -A brittany
|
aura -A brittany
|
||||||
~~~~
|
~~~~
|
||||||
|
|
||||||
|
- via `nix`:
|
||||||
|
~~~.sh
|
||||||
|
nix build # or 'nix-build'
|
||||||
|
nix-env -i ./result
|
||||||
|
~~~
|
||||||
|
|
||||||
# Editor Integration
|
# Editor Integration
|
||||||
|
|
||||||
#### Sublime text
|
#### Sublime text
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs ? import (fetchGit (import ./pkgs.nix)) {}
|
||||||
|
, compiler ? "ghc822"
|
||||||
|
}:
|
||||||
|
|
||||||
|
pkgs.haskell.packages.${compiler}.developPackage {
|
||||||
|
root = ./.;
|
||||||
|
name = "brittany";
|
||||||
|
overrides = with pkgs.haskell.lib; self: super: {
|
||||||
|
};
|
||||||
|
source-overrides = {
|
||||||
|
ghc-exactprint = "0.5.8.0";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue