nixpkgs-suyu/test/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