mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
nixos/installer/channel: Add some files that the channel also has
Nothing probably uses this, but let's be pedantic and have the pre-included channel on the install media be as close as possible to what 'nix-channel --update' will give them. The only remaining difference is that the channel adds programs.sqlite, which is fundamentally unfixable.
This commit is contained in:
parent
d17d4b70c9
commit
bd77849b2f
@ -21,7 +21,9 @@ let
|
||||
if [ ! -e $out/nixos/nixpkgs ]; then
|
||||
ln -s . $out/nixos/nixpkgs
|
||||
fi
|
||||
echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision
|
||||
echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
|
||||
echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision
|
||||
'';
|
||||
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user