I hereby claim:
- I am chessai on github.
- I am chessai (https://keybase.io/chessai) on keybase.
- I have a public key whose fingerprint is 0B8B 7376 2581 6610 8DE2 D422 9024 5F37 2438 2387
To claim this, I am signing this object:
<08:43:20> "clever": ghc can never use any library you install | |
<08:43:30> "chessai": ah | |
<08:43:30> "clever": you must call ghcWithPackages, and pass it the libraries | |
<08:43:42> "clever": that generates a special ghc, that can only use those libraries | |
<08:45:34> "clever": let ghc = haskellPackages.ghcWithPackages (p: with p; [ colonnade ]); | |
<08:45:43> "clever": this creates a ghc derivation that is able to use colonnade | |
<08:46:03> "clever": cabal2nix can also take a cabal file, and generate a derivation automatically, that has every dependency |
https://imgur.com/a/iunmc |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
To claim this, I am signing this object:
[chessai@CHESSAI:~]$ sudo nixos-rebuild switch | |
[sudo] password for chessai: | |
building Nix... | |
building the system configuration... | |
error: attribute ‘github:enomsg/vim-haskellConcealPlus’ missing, at /nix/store/5ixbx59nm70kgb2dcwqlndaxvwwy1r4h-nixos-18.03pre116432.263185aa68/nixos/pkgs/misc/vim-plugins/vim-utils.nix:159:25 | |
(use ‘--show-trace’ to show detailed location information) |
{ rev # The Git revision of nixpkgs to fetch | |
, sha256 # The SHA256 of the downloaded data | |
, system ? builtins.currentSystem # This is overridable if necessary | |
}: | |
with { | |
ifThenElse = { bool, thenValue, elseValue }: ( | |
if bool then thenValue else elseValue); | |
}; |
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
let | |
keys = import ./keys.nix; | |
in { | |
imports = |
{-# LANGUAGE CPP #-} | |
{-# LANGUAGE DeriveDataTypeable #-} | |
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE Rank2Types #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
module Data.Interval.Discrete | |
( Interval(..) | |
, (...) | |
, (+/-) |
#!/usr/bin/env bash | |
set -e | |
nix_opts='--show-trace --option extra-binary-caches https://nixcache.reflex-frp.org' | |
# use succ_opts when builds succeed | |
succ_opts='-j -8 -Q' | |
# use fail_opts when builds fail (for debugging with nix) | |
fail_opts='-j -1 --keep-going' |
-- -*- coding: utf-8; mode: haskell; -*- | |
-- File: src/Silvi/Tutorial.hs | |
-- | |
-- License: | |
-- Copyright 2017 Daniel Cartwright | |
-- | |
-- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
-- | |
-- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. |