Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/test.sh

9 lines
244 B
Bash
Raw Normal View History

* Use the configuration in /etc/nixos/configuration.nix by default. svn path=/nixos/trunk/; revision=7319
2006-12-12 00:08:26 +00:00
#! /bin/sh -e
if test -z "$NIXOS_CONFIG"; then
NIXOS_CONFIG=/etc/nixos/configuration.nix
fi
* More refactoring: renamed boot-environment.nix to system.nix (since it does a lot more than just booting), and merged system-configuration.nix into system.nix. svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00
nix-build configuration/system.nix \
* Use the configuration in /etc/nixos/configuration.nix by default. svn path=/nixos/trunk/; revision=7319
2006-12-12 00:08:26 +00:00
--arg configuration "import $NIXOS_CONFIG" \
* More refactoring: renamed boot-environment.nix to system.nix (since it does a lot more than just booting), and merged system-configuration.nix into system.nix. svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00
-A system -K -k
* A script to test configurations, i.e., make them current without making them the boot default. So if we screw up, we can just reset to get back to normal. svn path=/nixos/trunk/; revision=7303
2006-12-11 01:03:26 +00:00
./result/bin/switch-to-configuration test
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 100ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API