3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/upgrade.sh

5 lines
169 B
Bash
Raw Normal View History

#! /bin/sh
set -e
nix-env -p /nix/var/nix/profiles/system -f system-configuration.nix -i -A systemConfiguration
/nix/var/nix/profiles/system/bin/switch-to-configuration