mirror of
https://github.com/malob/prefmanager.git
synced 2024-12-14 11:57:49 +00:00
Update nix-shell to use haskell.nix
This commit is contained in:
parent
bdf9eae327
commit
b0025f2acd
1 changed files with 8 additions and 8 deletions
16
shell.nix
16
shell.nix
|
@ -1,11 +1,11 @@
|
|||
{ pkgs ? import (import ./nix/sources.nix).nixpkgs {} }:
|
||||
|
||||
with pkgs;
|
||||
mkShell {
|
||||
let
|
||||
pkgs = import (import ./nix/sources.nix).nixpkgs {};
|
||||
hsPkgs = import ./default.nix {};
|
||||
compiler-name = hsPkgs.prefmanager.project.pkg-set.config.compiler.nix-name;
|
||||
in hsPkgs.shellFor {
|
||||
buildInputs = [
|
||||
haskell.packages.ghc884.haskell-language-server
|
||||
cabal2nix
|
||||
stack
|
||||
niv
|
||||
pkgs.haskell.packages.${compiler-name}.haskell-language-server
|
||||
pkgs.stack
|
||||
pkgs.niv
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue