This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; nixos: | |
(require 'company) | |
(global-set-key (kbd "C-c C-S-n") 'helm-nixos-options) | |
(global-set-key (kbd "C-c C-u") 'nix-update-fetch) | |
(global-pretty-sha-path-mode) | |
(add-to-list 'company-backends 'company-cabal) | |
(add-hook 'after-init-hook 'global-company-mode) | |
(add-to-list 'company-backends 'company-nixos-options) | |
;; flycheck: | |
(setq flycheck-command-wrapper-function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; nixos setup: | |
(require 'package) | |
(package-initialize 'noactivate) | |
(eval-when-compile (require 'use-package)) | |
(setq use-package-always-ensure nil | |
use-package-ensure-function 'ignore | |
package-archives nil | |
package-enable-at-startup nil | |
package--init-file-ensured t) | |
(package-initialize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(package-initialize 'noactivate) | |
(eval-when-compile (require 'use-package)) | |
(setq use-package-always-ensure nil | |
use-package-ensure-function 'ignore | |
package-archives nil | |
package-enable-at-startup nil | |
package--init-file-ensured t) | |
(package-initialize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; language server protocol | |
(setq lsp-document-sync-method 'full) | |
(require 'lsp-mode) | |
(require 'lsp-ui) | |
(add-hook 'lsp-mode-hook 'lsp-ui-mode) | |
(add-hook 'haskell-mode-hook 'flycheck-mode) | |
(require 'lsp) | |
(require 'lsp-haskell) | |
(add-hook 'haskell-mode-hook #'lsp) | |
;; (add-hook 'haskell-mode-hook 'direnv-update-environment) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(package-initialize 'noactivate) | |
(eval-when-compile (require 'use-package)) | |
(setq use-package-always-ensure nil | |
use-package-ensure-function 'ignore | |
package-archives nil | |
package-enable-at-startup nil | |
package--init-file-ensured t) | |
(package-initialize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(package-initialize 'noactivate) | |
(eval-when-compile (require 'use-package)) | |
(setq use-package-always-ensure nil | |
use-package-ensure-function 'ignore | |
package-archives nil | |
package-enable-at-startup nil | |
package--init-file-ensured t) | |
(package-initialize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugger entered--Lisp error: (void-function flycheck-mode) | |
flycheck-mode() | |
run-hooks(change-major-mode-after-body-hook prog-mode-hook haskell-mode-hook) | |
apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook haskell-mode-hook)) | |
run-mode-hooks(haskell-mode-hook) | |
haskell-mode() | |
set-auto-mode-0(haskell-mode nil) | |
set-auto-mode() | |
normal-mode(t) | |
after-find-file(nil t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
home = { | |
packages = with pkgs; [ | |
(haskellPackages.ghcWithHoogle (hpkgs: with hpkgs; [ | |
cabal-install | |
cabal2nix | |
nix-prefetch-git | |
styx | |
# haskell-overridez | |
tinc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
home = { | |
packages = with pkgs; [ | |
(haskellPackages.ghc_8_6_5 (hpkgs: with hpkgs; [ | |
cabal-install | |
cabal2nix | |
nix-prefetch-git | |
styx | |
# haskell-overridez | |
tinc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
home = { | |
packages = with pkgs; [ | |
(haskellPackages.ghc_8_6_1 (hpkgs: with hpkgs; [ | |
cabal-install | |
cabal2nix | |
nix-prefetch-git | |
styx | |
# haskell-overridez | |
tinc |
OlderNewer