Skip to content

Instantly share code, notes, and snippets.

View IQubic's full-sized avatar

Sophia Caspe IQubic

View GitHub Profile
@IQubic
IQubic / Errors.txt
Created December 31, 2022 05:28
Mutable Build Errors
Build profile: -w ghc-9.0.2 -O1
In order, the following will be built (use -v for more details):
- mutable-0.2.2.0 (lib) (requires build)
- Brainfuck-0.1.0.0 (lib) (configuration changed)
Starting mutable-0.2.2.0 (lib)
Building mutable-0.2.2.0 (lib)
Failed to build mutable-0.2.2.0.
Build log (
/home/avi/.cabal/logs/ghc-9.0.2/mutable-0.2.2.0-ac8e4d8fabfe7535c9ac66b99cdb68b27d12189f8d41490bf40d0640833a13f0.log
{ mkDerivation, base, stdenv, pkgs ? import <nixpkgs> {} }:
mkDerivation {
pname = "ktaneSolver";
version = "0.1.0.0";
src = pkgs.nix-gitignore.gitignoreSource [] ./.;
libraryHaskellDepends = [ base megaparsec ];
doHaddock = false;
description = "Solver for modded KTaNE modules";
license = stdenv.lib.licenses.bsd3;
}
{ pkgs ? import <nixpkgs> {}, compiler ? "ghc844" }:
pkgs.haskellPackages.shellFor {
packages = _: [ (pkgs.haskell.packages.${compiler}.callPackage ./default.nix {}) ];
buildInputs = with pkgs; [
cabal
caba2nix
];
}
@IQubic
IQubic / package.nix
Created August 27, 2019 18:13
Nix-Shell For Haskell
{ mkDerivation, base, stdenv }:
mkDerivation {
pname = "Name here";
version = "0.1.0.0";
src = ./.;
libraryHaskellDepends = [ base ];
doHaddock = false;
description = "Description here";
license = stdenv.lib.licenses.bsd3;
}
@IQubic
IQubic / desktop.nix
Last active June 11, 2020 22:10
Home-Manager Setup
{ pkgs, ...}:
{
nixpkgs.config.allowUnfree = true;
home.sessionVariables.EDITOR = "emacsclient";
xsession.profileExtra = ''
export XMODIFIERS=@im=exwm-xim
export GTK_IM_MODULE=xim