summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
diff options
context:
space:
mode:
authorDominik Xaver Hörl <hoe.dom@gmx.de>2021-02-18 09:40:14 +0100
committerDominik Xaver Hörl <hoe.dom@gmx.de>2021-02-18 12:48:08 +0100
commit61d746a7d30e509f5081955cdb51f32024ed3294 (patch)
treef14cd4dcee456883eeb1f586fc846e479d87cd1c /nixos/modules/system/boot/loader/init-script/init-script-builder.sh
parent5276ebb5ee9bdd47e476d507b12141e84d2903d6 (diff)
downloadnixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar.gz
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar.bz2
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar.lz
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar.xz
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.tar.zst
nixpkgs-61d746a7d30e509f5081955cdb51f32024ed3294.zip
nixos: don't set systemConfig for stage-2
Since c4f910f55015b150bebe3d3ecdea76c1aa8bbcca, this is no longer
needed, because stage-2 is already generated with the path hard wired anyway.
Diffstat (limited to 'nixos/modules/system/boot/loader/init-script/init-script-builder.sh')
-rw-r--r--nixos/modules/system/boot/loader/init-script/init-script-builder.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
index 2a1ec479fea..bd3fc64999d 100644
--- a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
+++ b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
@@ -49,7 +49,6 @@ addEntry() {
       echo "#!/bin/sh"
       echo "# $name"
       echo "# created by init-script-builder.sh"
-      echo "export systemConfig=$(readlink -f $path)"
       echo "exec $stage2"
     )"