Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

4.1 KiB

Nix Configuration

Nix user config.nix setup.

  let
    pkgs = import <nixpkgs> {};
  in
  {
    packageOverrides = pkgs: with pkgs;
    let in rec {
      custom-pybugz = with python34Packages; buildPythonPackage rec {
        name = "pybugz-${version}";
        version = "0.13";
        src = pkgs.fetchgit {
          url = https://github.com/williamh/pybugz.git;
          rev = "4dec396d43061c1def9aa19601c89c8aa00742b3";
          sha256 = "1s21jma83cyynmv3696hbrgy0d3sq4j027iplhnw22q2237bk1xd";
        };
        # TODO: Fix this, something to do with how its using unittest
        doCheck = false;
        buildInputs = [ pkgs.glibcLocales ];
        propagatedBuildInputs = [ six ];
      };
      custom-pinentry = pinentry.override { gtk2 = null; qt4 = null; ncurses = null; };
      custom-youtube-dl = python27Packages.youtube-dl.override { pandoc = null; };
      # 3 unit tests fail on both 27 pylint and 35 pylint, so ignore it
#      custom-pylint = python35Packages.pylint.override { doCheck = false; };

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

      default = buildEnv {
        name = "default";
        ignoreCollisions = true;
        paths = [
          ack
          ansible
          aria
          aspell
          aspellDicts.en
          bazaarTools
          cacert
          clang
          clang-analyzer
          cloc
          cscope
          ctags
          curl
          custom-git
          custom-pinentry
          custom-pybugz
#          custom-pylint
          custom-youtube-dl
          diffutils
          docbook5
          duply
          emacs
          entr
          gcc
          gdbm
          ghostscript
          gist
          gitAndTools.git-extras
          gitAndTools.gitFull
          gnumake
          gnupg
          gnupg1compat
          gnutar
          graphviz-nox
          haskellPackages.ShellCheck
          haskellPackages.bake
          haskellPackages.cabal-dependency-licenses
          haskellPackages.ghc-core
          haskellPackages.ghc-mod
          haskellPackages.hasktags
          haskellPackages.hindent
          haskellPackages.hoogle
          haskellPackages.hspec
          haskellPackages.idris
          haskellPackages.intero
          haskellPackages.network
          haskellPackages.pandoc
          haskellPackages.shake
          haskellPackages.stack
          htop
          imagemagick
          iperf
          jq
          keychain
          lastpass-cli
          less
          llvm
          mercurial
          moreutils
          mosh
          multimarkdown
          multitail
          mutt
          munge
          mr
          nox
          openssl
          p7zip
          patchutils
          pbzip2
          pigz
          pixz
          pkgconfig
          poppler_utils
          postgresql
          pv
          python27Packages.bugzilla
          python27Packages.flake8
          python27Packages.howdoi
          python27Packages.pip
          python27Packages.pyflakes
          python27Packages.virtualenv
          readline
          rlwrap
          rsync
          rtags
          gmp
          silver-searcher
          sloccount
          sqlite
          sshpass
          subversionClient
          texlive.combined.scheme-full
          tmux
          tree
          unrar
          unzip
          upx
          wakelan
          watch
          wget
          xz
          zlib
  # If I ever come up with some linux only stuff or figure out xhyve
  #      ] ++ stdenv.lib.optionals stdenv.isLinux [
  #      ] ++ stdenv.lib.optionals stdenv.isDarwin [
  #        xhyve
        ];
      };
    };
    allowUnfree = true;
  }