Skip to content

Instantly share code, notes, and snippets.

View zeta-00's full-sized avatar

zeta zeta-00

View GitHub Profile
[zeta@nixos:/screened]$ cabal exec -- darcs
darcs version 2.15.2 (+ 291 patches)
[zeta@nixos:/screened]$ darcs --version
2.14.2 (release)
[zeta@nixos:/screened]$
error message:
[zeta@nixos:/~]$ codium --verbose
Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
[main 2020-02-21T16:18:06.908Z] Error: ENOENT: no such file or directory, mkdir
[main 2020-02-21T16:18:06.910Z] Lifecycle#kill()
[1399:0221/091806.915847:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
[zeta@nixos:/~]$
with pkgs.nur.repos.rycee.firefox-addons;
[
https-everywhere
privacy-badger
]
Hello guys, I installed ghcide which is working great, but everytime that I do a rebuild I have to run: cat $(which ghc),
then set the newly generated nix path of NIX_GHC_LIBDIR in the in it's corresponding sessionVariable of my
home.nix configuration, is there a way to automate this process so I don't have to keep doing this manually
over and over again?
here is an issue that someone else is having that is similar to my issue:
https://github.com/hercules-ci/ghcide-nix/issues/26
also, here is my sessionVariables code section of my home.nix configuration file:
[ 4.696]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 4.696] Build Operating System: Linux 4.19.92 x86_64
[ 4.696] Current Operating System: Linux nixos 5.4.13 #1-NixOS SMP Fri Jan 17 18:49:08 UTC 2020 x86_64
[ 4.696] Kernel command line: initrd=\efi\nixos\7ij7yq3a155nmvyg6lps508vrgl9054y-initrd-linux-5.4.13-initrd.efi systemConfig=/nix/store/89wapddhqa8953n3mxc5z7qdrwg0nkj5-nixos-system-nixos-19.09.1914.d14cea0dec2 init=/nix/store/89wapddhqa8953n3mxc5z7qdrwg0nkj5-nixos-system-nixos-19.09.1914.d14cea0dec2/init loglevel=4
[ 4.696] Build Date: 30 May 2019 06:28:09PM
[ 4.696]
[ 4.696] Current version of pixman: 0.38.4
[ 4.696] Before reporting problems, check http://wiki.x.org
[ 5.539]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 5.539] Build Operating System: Linux 4.19.92 x86_64
[ 5.539] Current Operating System: Linux nixos 4.19.97 #1-NixOS SMP Fri Jan 17 18:47:17 UTC 2020 x86_64
[ 5.539] Kernel command line: initrd=\efi\nixos\h709fwg2gwl6rl5sv0sliddpcplyhn51-initrd-linux-4.19.97-initrd.efi systemConfig=/nix/store/sakp8dcm37nvxxb723y1vzirkmxrdif6-nixos-system-nixos-19.09.1914.d14cea0dec2 init=/nix/store/sakp8dcm37nvxxb723y1vzirkmxrdif6-nixos-system-nixos-19.09.1914.d14cea0dec2/init loglevel=4
[ 5.539] Build Date: 30 May 2019 06:28:09PM
[ 5.539]
[ 5.539] Current version of pixman: 0.38.4
[ 5.539] Before reporting problems, check http://wiki.x.org
[zeta@nixos:/~]$ lspci -v
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
Subsystem: CLEVO/KAPOK Computer Device 1313
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device 1313
home.nix installation:
xsession = {
enable = true;
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
haskellPackages = pkgs.haskell.packages.ghc865;
extraPackages = haskellPackages: with haskellPackages; [
xmonad
(add-hook 'after-init-hook 'global-company-mode)
(add-hook 'haskell-mode-hook
(lambda ()
(set (make-local-variable 'company-backends)
(append '((company-capf company-dabbrev-code))
company-backends))))
(require 'haskell-interactive-mode)
(require 'haskell-process)
here is my the piece of my .emacs code that i am trying to use:
;;------------------------------------------------------------------
;; emacs-ipython-notebook configuration:
(add-hook 'after-init-hook 'global-company-mode)
(require 'haskell-doc)
(require 'company)
(require 'ein)
(require 'ein-jupyter)