Move Haskell-related shell.nix code into its own shell.nix
I'm getting tired of: ```shell $ cd <project-root> $ nix-shell $ cd src/server $ ghci Main.hs ``` Instead: ```shell $ cd <project-root>/src/server $ ghci Main.hs ```
This commit is contained in:
parent
26b7237aab
commit
7d85ba559d
2 changed files with 19 additions and 11 deletions
|
@ -5,16 +5,5 @@ in pkgs.mkShell {
|
|||
elmPackages.elm
|
||||
elmPackages.elm-format
|
||||
elmPackages.elm-live
|
||||
(haskellPackages.ghcWithPackages (hpkgs: [
|
||||
hpkgs.hspec
|
||||
hpkgs.servant-server
|
||||
hpkgs.aeson
|
||||
hpkgs.wai-cors
|
||||
hpkgs.warp
|
||||
hpkgs.jwt
|
||||
hpkgs.unordered-containers
|
||||
hpkgs.base64
|
||||
hpkgs.http-conduit
|
||||
]))
|
||||
];
|
||||
}
|
||||
|
|
19
website/sandbox/learnpianochords/src/server/shell.nix
Normal file
19
website/sandbox/learnpianochords/src/server/shell.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
let
|
||||
pkgs = import /home/wpcarro/nixpkgs {};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
(haskellPackages.ghcWithPackages (hpkgs: [
|
||||
hpkgs.hspec
|
||||
hpkgs.servant-server
|
||||
hpkgs.aeson
|
||||
hpkgs.wai-cors
|
||||
hpkgs.warp
|
||||
hpkgs.jwt
|
||||
hpkgs.unordered-containers
|
||||
hpkgs.base64
|
||||
hpkgs.http-conduit
|
||||
hpkgs.rio
|
||||
hpkgs.envy
|
||||
]))
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue