.\" -*- 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 \f(CRnix profile rollback\fR - roll back to the previous version or a specified version of a profile .SH Synopsis .LP \f(CRnix 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 \f(CR--to\fR \fIN\fR is given, to version \fIN\fR of the profile. To see the available versions of a profile, use \f(CRnix profile history\fR. .SH Options .IP "\(bu" 3 \fB\f(CR--dry-run\fR\fR .IP Show what this command would do without doing it. .IP "\(bu" 3 \fB\f(CR--profile\fR\fR \fIpath\fR .IP The profile to operate on. .IP "\(bu" 3 \fB\f(CR--to\fR\fR \fIversion\fR .IP The profile version to roll back to. .SS Logging-related options .IP "\(bu" 3 \fB\f(CR--debug\fR\fR .IP Set the logging verbosity level to \(oqdebug\(cq. .IP "\(bu" 3 \fB\f(CR--log-format\fR\fR \fIformat\fR .IP Set the format of log output; one of \f(CRraw\fR, \f(CRinternal-json\fR, \f(CRbar\fR or \f(CRbar-with-logs\fR. .IP "\(bu" 3 \fB\f(CR--print-build-logs\fR\fR / \f(CR-L\fR .IP Print full build logs on standard error. .IP "\(bu" 3 \fB\f(CR--quiet\fR\fR .IP Decrease the logging verbosity level. .IP "\(bu" 3 \fB\f(CR--verbose\fR\fR / \f(CR-v\fR .IP Increase the logging verbosity level. .SS Miscellaneous global options .IP "\(bu" 3 \fB\f(CR--help\fR\fR .IP Show usage information. .IP "\(bu" 3 \fB\f(CR--offline\fR\fR .IP Disable substituters and consider all previously downloaded files up-to-date. .IP "\(bu" 3 \fB\f(CR--option\fR\fR \fIname\fR \fIvalue\fR .IP Set the Nix configuration setting \fIname\fR to \fIvalue\fR (overriding \f(CRnix.conf\fR). .IP "\(bu" 3 \fB\f(CR--refresh\fR\fR .IP Consider all previously downloaded files out-of-date. .IP "\(bu" 3 \fB\f(CR--version\fR\fR .IP Show version information. .RS .LP \fBNote\fR .PP See \fB\f(CRman nix.conf\fR\fR for overriding configuration settings with command line flags. .RE