Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/action/common/create_nix_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::action::{
};

const PATHS: &[&str] = &[
"/nix",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to do it as part of CreateNixTree, as that happens before we hit the revert for nix.mount, etc in the ostree planner, which will probably cause issues.

We'll probably want to create something similar to RevertCleanSteamosNixOffload for the ostree planner that does nothing in execute, but deletes /nix in revert, and have it be one of the first steps in the plan (so it's one of the last steps to be reverted upon uninstall).

"/nix/var",
"/nix/var/log",
"/nix/var/log/nix",
Expand Down