git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitbd77849b2f5b15f17a40f1142e8a90a02c6c8ddd authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> dateThu 12 Apr 2018, 18:15 (9 years ago) parentd17d4b7
1 file changed+2
nixos/modules/installer/cd-dvd/channel.nix+2
nixos/modules/installer/cd-dvd/channel.nix+2
@@ -21,7 +21,9 @@ let
2121 if [ ! -e $out/nixos/nixpkgs ]; then
2222 ln -s . $out/nixos/nixpkgs
2323 fi
24+ echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision
2425 echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
26+ echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision
2527 '';
2628
2729in