<commit_before>if test -n "$HOME"
  set -x NIX_LINK "$HOME/.nix-profile"

  # Set the default profile.
  if not [ -L "$NIX_LINK" ]
    echo "creating $NIX_LINK" >&2
    set _NIX_DEF_LINK /nix/var/nix/profiles/default
    /nix/store/cdybb3hbbxf6k84c165075y7vkv24vm2-coreutils-8.23/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK"
  end

  add-to-path $NIX_LINK/bin $NIX_LINK/sbin

  # Subscribe the root user to the Nixpkgs channel by default.
  if [ ! -e $HOME/.nix-channels ]
    echo "http://nixos.org/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels
  end

  # Append ~/.nix-defexpr/channels/nixpkgs to $NIX_PATH so that
  # <nixpkgs> paths work when the user has fetched the Nixpkgs
  # channel.
  #set -x NIX_PATH nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs
  set -x NIX_PATH nixpkgs=$HOME/Software/nixpkgs
end

<commit_msg>[nix] use channel<commit_after>if test -n "$HOME"
  set -x NIX_LINK "$HOME/.nix-profile"

  # Set the default profile.
  if not [ -L "$NIX_LINK" ]
    echo "creating $NIX_LINK" >&2
    set _NIX_DEF_LINK /nix/var/nix/profiles/default
    /nix/store/cdybb3hbbxf6k84c165075y7vkv24vm2-coreutils-8.23/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK"
  end

  add-to-path $NIX_LINK/bin $NIX_LINK/sbin

  # Subscribe the root user to the Nixpkgs channel by default.
  if [ ! -e $HOME/.nix-channels ]
    echo "http://nixos.org/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels
  end

  # Append ~/.nix-defexpr/channels/nixpkgs to $NIX_PATH so that
  # <nixpkgs> paths work when the user has fetched the Nixpkgs
  # channel.
  set -x NIX_PATH nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs
end


{'fraction_non_alphanumeric': 0.12686567164179105, 'fraction_numerical': 0.022388059701492536, 'mean_word_length': 3.3722826086956523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6113061', 'n_tokens_mistral': 708, 'n_tokens_neox': 664, 'n_words': 148}