* Set the version properly in the source tree in the ISO.

svn path=/nixos/trunk/; revision=33736
This commit is contained in:
Eelco Dolstra 2012-04-10 21:42:47 +00:00
parent 049d2dfca7
commit 322a0ff7cd

View File

@ -57,6 +57,8 @@ in
mkdir -p /etc/nixos/nixpkgs mkdir -p /etc/nixos/nixpkgs
tar xjf ${nixpkgsTarball}/nixpkgs.tar.bz2 -C /etc/nixos/nixpkgs tar xjf ${nixpkgsTarball}/nixpkgs.tar.bz2 -C /etc/nixos/nixpkgs
chown -R root.root /etc/nixos chown -R root.root /etc/nixos
echo -n ${config.system.nixosVersion} > /etc/nixos/nixos/.version
echo -n "" > /etc/nixos/nixos/.version-suffix
''} ''}
# Make the installer more likely to succeed in low memory # Make the installer more likely to succeed in low memory