gnu: hurd: Adjust to the transition from "--system" to "gnu.system".

This is a followup to 0dc019e19a, which
inadvertently led the Hurd to fail to boot.

* gnu/packages/hurd.scm (hurd)[arguments]: In 'create-runsystem' phase,
expect "gnu.system=" instead of "--system=".
This commit is contained in:
Ludovic Courtès 2022-03-09 18:24:09 +01:00
parent e2ca8119d5
commit a9a64c1983
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016, 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018, 2020-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020, 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@ -409,8 +409,8 @@ (define-public hurd
# parse multiboot arguments
for i in \"$@\"; do
case $i in
(--system=*)
system=${i#--system=}
(gnu.system=*)
system=${i#gnu.system=}
;;
esac
done