mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Keep the shell used by Stack defined in one place.
This commit is contained in:
parent
1a4328b7d9
commit
51592009a1
@ -40,6 +40,6 @@ in
|
|||||||
app = hlib.justStaticExecutables hpkgs.stackage-server;
|
app = hlib.justStaticExecutables hpkgs.stackage-server;
|
||||||
shell = hpkgs.shellFor {
|
shell = hpkgs.shellFor {
|
||||||
packages = p: [ p.stackage-server ];
|
packages = p: [ p.stackage-server ];
|
||||||
buildInputs = [ pkgs.cabal-install pkgs.haskell-language-server pkgs.ghcid pkgs.haskellPackages.yesod-bin ];
|
buildInputs = [ pkgs.cabal-install pkgs.haskell-language-server pkgs.ghcid pkgs.haskellPackages.yesod-bin pkgs.postgresql ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
7
shell.nix
Normal file
7
shell.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
(import (
|
||||||
|
fetchGit {
|
||||||
|
url = "https://github.com/edolstra/flake-compat";
|
||||||
|
}
|
||||||
|
) {
|
||||||
|
src = ./.;
|
||||||
|
}).shellNix
|
||||||
@ -30,8 +30,4 @@ allow-newer-deps:
|
|||||||
- pantry
|
- pantry
|
||||||
|
|
||||||
nix:
|
nix:
|
||||||
packages:
|
shell-file: shell.nix
|
||||||
- zlib
|
|
||||||
- postgresql
|
|
||||||
- pkg-config
|
|
||||||
- cacert
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user