summaryrefslogtreecommitdiff
path: root/overlays/vcsh/default.nix
blob: eb4d48ed64eb9e47669e09580599f69951a2e0ea (plain) (blame)
1
2
3
4
5
6
7
self: super: {
  vcsh = super.vcsh.overrideAttrs(old: {
    patchPhase = old.patchPhase or "" + ''
      sed -i -e 's@-r "$XDG_CONFIG_HOME/vcsh/config.d/$VCSH_REPO_NAME"@-f "$XDG_CONFIG_HOME/vcsh/config.d/$VCSH_REPO_NAME"@' vcsh
      '';
  });
}