1
1
mirror of https://github.com/divnix/digga.git synced 2025-01-03 13:56:36 +03:00

🧠 redesign Rm tempfix

This commit is contained in:
Lord-Valen 2022-11-06 22:45:02 -05:00 committed by David Arnold
parent 4b897e0639
commit 57c2796774

View File

@ -86,21 +86,6 @@ devshell.mkShell {
} }
]; ];
# tempfix: remove when merged https://github.com/numtide/devshell/pull/123
devshell.startup.load_profiles = pkgs.lib.mkForce (pkgs.lib.noDepEntry ''
# PATH is devshell's exorbitant privilige:
# fence against its pollution
_PATH=''${PATH}
# Load installed profiles
for file in "$DEVSHELL_DIR/etc/profile.d/"*.sh; do
# If that folder doesn't exist, bash loves to return the whole glob
[[ -f "$file" ]] && source "$file"
done
# Exert exorbitant privilige and leave no trace
export PATH=''${_PATH}
unset _PATH
'');
commands = [ commands = [
(utils { (utils {
command = "git rm --ignore-unmatch -f $PRJ_ROOT/{tests,examples}/*/flake.lock"; command = "git rm --ignore-unmatch -f $PRJ_ROOT/{tests,examples}/*/flake.lock";