citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

nix-grep (187B)


      1 #!/usr/bin/env bash
      2 if [ ! -f $HOME/.nixenv.cache ]; then
      3   >&2 echo "cache not found, generating..."
      4   nix-build-cache
      5   >&2 echo "done"
      6   >&2 echo ""
      7 fi
      8 
      9 grep -i $@ $HOME/.nixenv.cache