Purescript development tools
This commit is contained in:
parent
4d356b3a06
commit
4e8adcfafb
7 changed files with 104 additions and 32 deletions
|
@ -17,27 +17,50 @@
|
|||
DICPATH = "${pkgs.hunspellDicts.it_IT}/share/hunspell:${pkgs.hunspellDicts.en_US}/share/hunspell";
|
||||
} else { };
|
||||
|
||||
home.packages = with pkgs; [
|
||||
python3Full
|
||||
fd
|
||||
ag
|
||||
nixpkgs-fmt
|
||||
rnix-lsp
|
||||
haskell-language-server
|
||||
stylish-haskell
|
||||
graphviz-nox
|
||||
hunspell
|
||||
hunspellDicts.en_US
|
||||
hunspellDicts.it_IT
|
||||
(
|
||||
makeDesktopItem {
|
||||
name = "org-protocol";
|
||||
exec = "emacsclient %u";
|
||||
comment = "Org protocol";
|
||||
desktopName = "org-protocol";
|
||||
type = "Application";
|
||||
mimeType = "x-scheme-handler/org-protocol";
|
||||
}
|
||||
)
|
||||
] ++ (if pkgs.system == "x86_64-linux" then [ python-language-server ] else [ ]);
|
||||
home.packages =
|
||||
let
|
||||
easy-ps = import
|
||||
(pkgs.fetchFromGitHub {
|
||||
owner = "justinwoo";
|
||||
repo = "easy-purescript-nix";
|
||||
rev = "7802db65618c2ead3a55121355816b4c41d276d9";
|
||||
sha256 = "0n99hxxcp9yc8yvx7bx4ac6askinfark7dnps3hzz5v9skrvq15q";
|
||||
})
|
||||
{
|
||||
inherit pkgs;
|
||||
};
|
||||
in
|
||||
with pkgs; [
|
||||
python3Full
|
||||
fd
|
||||
ag
|
||||
nixpkgs-fmt
|
||||
rnix-lsp
|
||||
haskell-language-server
|
||||
stylish-haskell
|
||||
graphviz-nox
|
||||
hunspell
|
||||
hunspellDicts.en_US
|
||||
hunspellDicts.it_IT
|
||||
(
|
||||
makeDesktopItem {
|
||||
name = "org-protocol";
|
||||
exec = "emacsclient %u";
|
||||
comment = "Org protocol";
|
||||
desktopName = "org-protocol";
|
||||
type = "Application";
|
||||
mimeType = "x-scheme-handler/org-protocol";
|
||||
}
|
||||
)
|
||||
] ++ (if pkgs.system == "x86_64-linux" then [
|
||||
python-language-server
|
||||
] ++ (with easy-ps; [
|
||||
purs
|
||||
spago
|
||||
spago2nix
|
||||
pulp
|
||||
purescript-language-server
|
||||
purs-tidy
|
||||
nodejs
|
||||
]) else [ ]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue