Skip to content

Commit d0b667d

Browse files
author
Samuel FORESTIER
committed
Add Guix System
> closes #303
1 parent 1b56c74 commit d0b667d

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

distro.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def id():
224224
"freebsd" FreeBSD
225225
"midnightbsd" MidnightBSD
226226
"rocky" Rocky Linux
227+
"guix" Guix System
227228
============== =========================================
228229
229230
If you have a need to get distros for reliable IDs added into this set,
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
NAME="Guix System"
2+
ID=guix
3+
PRETTY_NAME="Guix System"
4+
LOGO=guix-icon
5+
HOME_URL="https://guix.gnu.org"
6+
DOCUMENTATION_URL="https://guix.gnu.org/en/manual"
7+
SUPPORT_URL="https://guix.gnu.org/en/help"
8+
BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix"

tests/test_distro.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,14 @@ def test_fedora30_os_release(self):
263263
}
264264
self._test_outcome(desired_outcome)
265265

266+
def test_guix_os_release(self):
267+
desired_outcome = {
268+
"id": "guix",
269+
"name": "Guix System",
270+
"pretty_name": "Guix System",
271+
}
272+
self._test_outcome(desired_outcome)
273+
266274
def test_kvmibm1_os_release(self):
267275
desired_outcome = {
268276
"id": "kvmibm",

0 commit comments

Comments
 (0)