mirror of
https://github.com/matsumonkie/izuna.git
synced 2024-10-03 20:37:09 +03:00
Override nixpkgs for stack
this make sure both ghc 8.10.1 and 8.10.2 are available for nixos
This commit is contained in:
parent
db4906dd6c
commit
7073c22ea0
@ -60,14 +60,14 @@ Then it needs to parse the hie files and recover any useful information.
|
||||
|
||||
Build with:
|
||||
```bash
|
||||
stack build izuna-builder --stack-yaml=stack-8.10.1.yaml
|
||||
stack build izuna-builder --stack-yaml=stack-8.10.1.yaml --no-nix
|
||||
```
|
||||
|
||||
izuna-server is a simple server that returns the processed hie files for the plugin.
|
||||
|
||||
Build with:
|
||||
```bash
|
||||
stack build izuna-server --stack-yaml=stack-8.10.1.yaml
|
||||
stack build izuna-server --stack-yaml=stack-8.10.1.yaml --no-nix
|
||||
```
|
||||
|
||||
## Inspirations
|
||||
|
9
nixpkgs.nix
Normal file
9
nixpkgs.nix
Normal file
@ -0,0 +1,9 @@
|
||||
let
|
||||
rev = "2c0f6135aab77ff942b615228882c7dd996e0882";
|
||||
extractedTarball = fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/${rev}.tar.gz";
|
||||
sha256 = "sha256:00yg8dck4ymcifrxsknnpms52n16xnb8yiqjkby002mbm2aflf45";
|
||||
};
|
||||
in
|
||||
# extractedTarball will be a directory here, and 'import' will automatically append /default.nix here
|
||||
import extractedTarball
|
@ -15,4 +15,5 @@ extra-deps:
|
||||
|
||||
nix:
|
||||
enable: true
|
||||
packages: [ zlib ]
|
||||
packages: [ zlib ]
|
||||
path: [nixpkgs=./nixpkgs.nix]
|
||||
|
@ -8,4 +8,5 @@ extra-deps:
|
||||
|
||||
nix:
|
||||
enable: true
|
||||
packages: [ zlib ]
|
||||
packages: [ zlib ]
|
||||
path: [nixpkgs=./nixpkgs.nix]
|
||||
|
Loading…
Reference in New Issue
Block a user