- Put
ci.yaml
into.github/workflows/
- Follow https://github.com/cachix/cachix-action#usage to setup Cachix and benefit from quick CI build times.
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
diff --git a/overlays/bootstrap.nix b/overlays/bootstrap.nix | |
index b165ab1..197b32f 100644 | |
--- a/overlays/bootstrap.nix | |
+++ b/overlays/bootstrap.nix | |
@@ -134,11 +134,11 @@ in { | |
++ fromUntil "8.10" "8.10.2" ./patches/ghc/67738db10010fd28a8e997b5c8f83ea591b88a0e.patch | |
++ final.lib.optional (versionAtLeast "8.6.4" && versionLessThan "8.8") ./patches/ghc/ghc-no-system-linker.patch | |
- ++ fromUntil "8.10.2" "8.12" ./patches/ghc/MR3714-backported-to-8.10.2.patch | |
+ #++ fromUntil "8.10.2" "8.12" ./patches/ghc/MR3714-backported-to-8.10.2.patch |
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
{-# OPTIONS_GHC -fno-warn-orphans #-} | |
module Repl where | |
import Cachix.Config (readConfig) | |
import Cachix.Env (setupApp) | |
import Cachix.Server.Prelude | |
import qualified Control.Exception.Safe as Safe | |
import qualified Language.Haskell.Interpreter as Interpreter | |
import Protolude |
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
#!/usr/bin/env stack | |
-- stack --nix --nix-packages postgresql --resolver lts-16.23 --install-ghc runghc --package hasql --package text --package bytestring | |
{-# LANGUAGE OverloadedStrings #-} | |
import Data.Text | |
import Data.ByteString | |
import Data.Int | |
import qualified Hasql.Decoders as HD | |
import qualified Hasql.Encoders as HE | |
import qualified Hasql.Statement as HQ |
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
Cloning into '.'... | |
Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts. | |
Switched to a new branch '2.3.4' | |
KernelVersion: 4.4.0-1060-aws | |
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}] | |
Arch: amd64 | |
BuildTime: 2018-08-30T18:42:30.000000000+00:00 | |
ApiVersion: 1.37 | |
Platform: {u'Name': u''} | |
Version: 18.03.1-ee-3 |
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
hardware.pulseaudio.enable = true; | |
# https://askubuntu.com/questions/113704/make-pulseaudio-prefer-external-audio-device | |
hardware.pulseaudio.extraConfig = '' | |
load-module module-switch-on-connect | |
load-module module-switch-on-port-available | |
load-module module-bluetooth-discover | |
load-module module-bluetooth-policy | |
load-module module-bluez5-discover | |
#load-module module-bluez5-device | |
''; |
Hello!
Thank you for this PR.
In the past several months, some major changes have taken place in NixOps:
- Backends have been removed, preferring a plugin-based architecture. Here are some of them:
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
$ nix-build -A ghcide-ghc882 --show-trace | |
trace: Get `stack-sha256` with `nix-hash --base32 --type sha256 /nix/store/diwzvhqsxkf0nfyijcs2qcipq6x5y6pi-stack-to-nix-pkgs/` | |
error: while evaluating 'mkHieCore' at /home/ielectric/dev/ghcide-nix/nix/default.nix:31:19, called from /home/ielectric/dev/ghcide-nix/nix/default.nix:35:27: | |
while evaluating 'mkPackages' at /home/ielectric/dev/ghcide-nix/nix/default.nix:8:20, called from /home/ielectric/dev/ghcide-nix/nix/default.nix:32:24: | |
while evaluating 'stackProject' at /nix/store/n4grjwkfhr5jy519xf1hh88g68ifwayh-source/overlays/haskell.nix:450:24, called from /home/ielectric/dev/ghcide-nix/nix/default.nix:9:9: | |
while evaluating the attribute 'hsPkgs' at /nix/store/n4grjwkfhr5jy519xf1hh88g68ifwayh-source/overlays/haskell.nix:448:42: | |
while evaluating the attribute 'hsPkgs' at undefined position: | |
while evaluating anonymous function at /nix/store/57qb98n3c5i6g5qvsg3p7mdih7m5gkmh-source/lib/modules.nix:75:45, called from undefined position: | |
while evaluating the attribute 'v |
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
{ nixpkgs ? (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz) | |
, system ? builtins.currentSystem | |
}: | |
let | |
haskellnix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz); | |
overlay = _: pkgs: | |
let | |
hnPkgs = pkgs.haskell-nix.stackProject { | |
src = ./.; |