.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-profile-rollback" "1" "" .RS .PP \fBWarning\fR .br This program is \fB\fBexperimental\fR\fR and its interface is subject to change. .RE .SH Name .LP \fCnix profile rollback\fR - roll back to the previous version or a specified version of a profile .SH Synopsis .LP \fCnix profile rollback\fR [\fIoption\fR\[u2026]] .SH Examples .IP "\(bu" 3 Roll back your default profile to the previous version: .LP .EX # nix profile rollback switching profile from version 519 to 518 .EE .IP "\(bu" 3 Switch your default profile to version 510: .LP .EX # nix profile rollback --to 510 switching profile from version 518 to 510 .EE .SH Description .LP This command switches a profile to the most recent version older than the currently active version, or if \fC--to\fR \fIN\fR is given, to version \fIN\fR of the profile. To see the available versions of a profile, use \fCnix profile history\fR. .SH Options .IP "\(bu" 3 \fB\fC--dry-run\fR\fR .IP Show what this command would do without doing it. .IP "\(bu" 3 \fB\fC--profile\fR\fR \fIpath\fR .IP The profile to operate on. .IP "\(bu" 3 \fB\fC--to\fR\fR \fIversion\fR .IP The profile version to roll back to. .SS Logging-related options .IP "\(bu" 3 \fB\fC--debug\fR\fR .IP Set the logging verbosity level to \(oqdebug\(cq. .IP "\(bu" 3 \fB\fC--log-format\fR\fR \fIformat\fR .IP Set the format of log output; one of \fCraw\fR, \fCinternal-json\fR, \fCbar\fR or \fCbar-with-logs\fR. .IP "\(bu" 3 \fB\fC--print-build-logs\fR\fR / \fC-L\fR .IP Print full build logs on standard error. .IP "\(bu" 3 \fB\fC--quiet\fR\fR .IP Decrease the logging verbosity level. .IP "\(bu" 3 \fB\fC--verbose\fR\fR / \fC-v\fR .IP Increase the logging verbosity level. .SS Miscellaneous global options .IP "\(bu" 3 \fB\fC--help\fR\fR .IP Show usage information. .IP "\(bu" 3 \fB\fC--offline\fR\fR .IP Disable substituters and consider all previously downloaded files up-to-date. .IP "\(bu" 3 \fB\fC--option\fR\fR \fIname\fR \fIvalue\fR .IP Set the Nix configuration setting \fIname\fR to \fIvalue\fR (overriding \fCnix.conf\fR). .IP "\(bu" 3 \fB\fC--refresh\fR\fR .IP Consider all previously downloaded files out-of-date. .IP "\(bu" 3 \fB\fC--version\fR\fR .IP Show version information. .RS .LP \fBNote\fR .PP See \fB\fCman nix.conf\fR\fR for overriding configuration settings with command line flags. .RE