This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uninstalling nix: | |
1. Delete the systemd service and socket units | |
sudo systemctl stop nix-daemon.socket | |
sudo systemctl stop nix-daemon.service | |
sudo systemctl disable nix-daemon.socket | |
sudo systemctl disable nix-daemon.service | |
sudo systemctl daemon-reload | |
2. Restore /etc/profile.d/nix.sh.backup-before-nix back to /etc/profile.d/nix.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
def rewrite(rd, wr) | |
rd.each do |line| | |
line = line.gsub /File "(.*)", line (\d+), characters (\d+)-(\d+):/, 'File \1:\2:\3 to \4' | |
wr.puts line | |
# wr.flush | |
end | |
end |
NewerOlder