Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

3.0 KiB

Nix Configuration

Nix user config.nix setup.

let
  pkgs = import <nixpkgs> {};
in
{

  packageOverrides = pkgs: with pkgs;
  let in rec {
    my-pinentry = pinentry.override { gtk2 = null; qt4 = null; ncurses = null; };
    my-gnupg = gnupg.override { x11Support = false; pinentry = false; };
    my-youtube-dl = python27Packages.youtube-dl.override { pandoc = null; };

    my-git = git.override {
      pythonSupport = false;
      svnSupport = true;
      guiSupport = false;
      sendEmailSupport = true;
    };

    default = buildEnv {
      name = "default";
      ignoreCollisions = true;
      paths = [
        ansible
        ack
        aria
        iperf
        cacert
        curl
        clang
        clang-analyzer
        ctags
        diffutils
        patchutils
        my-git
        gitAndTools.gitFull
        gitAndTools.git-extras
        bazaarTools
        mercurial
        subversionClient
        gist
        mercurial
        docbook5
        entr
        emacs
        my-gnupg
#        gnupg1compat
        gnutar
        gnumake
        sloccount
        cloc
        less
        multitail
        rlwrap
        gdbm
        mosh
        htop
        imagemagick
        keychain
        silver-searcher
        aspell
        aspellDicts.en
        openssl
        my-pinentry
        pbzip2
        pigz
        pv
        postgresql
        readline
        rsync
        sqlite
        tmux
        texlive.combined.scheme-full
        tree
        wget
        wakelan
        unzip
        upx
        xz
        multimarkdown
        jq
        p7zip
        unrar
        watch
        nox
        mutt
        duply
#        xhyve        compiles normally, figure out hypervisor framework issue
        lastpass-cli
        my-youtube-dl
        python27Packages.howdoi
        python27Packages.pyflakes
        python27Packages.flake8
        python27Packages.virtualenv
        python27Packages.pip
        haskellPackages.alex
        haskellPackages.happy
        haskellPackages.bake
        haskellPackages.cabal-dependency-licenses
        haskellPackages.cabal-install
        haskellPackages.cabal-meta
        haskellPackages.ghc-core
        haskellPackages.ghc-mod
        haskellPackages.hasktags
        haskellPackages.hindent
        haskellPackages.hoogle
        haskellPackages.hspec
        haskellPackages.pandoc
        haskellPackages.shake
        haskellPackages.ShellCheck
        haskellPackages.stack
        haskellPackages.idris
        haskellPackages.nats
        haskellPackages.transformers-compat
      ] ++ stdenv.lib.optionals stdenv.isLinux [
      # some of these are broken on osx, fix them
        rtags
        pylint
        texLiveFull
        cscope
      ];
    };
  };
  allowUnfree = true;
  allowBroken = true;
}