Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, home, ... }:
- with import <nixpkgs> {};
- with lib;
- let
- emacsHEAD = import ./emacs.nix;
- all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
- unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
- in
- {
- nixpkgs.config = {
- allowUnfree = true;
- allowBroken = true;
- packageOverrides = pkgs: {
- unstable = import unstableTarball {
- config = config.nixpkgs.config;
- };
- haskellPackages = (import unstableTarball {
- config = config.nixpkgs.config;
- }).haskell.packages.ghc881;
- };
- };
- home = {
- packages = with pkgs; [
- unstable.haskell.compiler.ghc881
- ];
- };
- programs = {
- # Let Home Manager install and manage itself.
- home-manager.enable = true;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement