summary refs log tree commit diff stats
path: root/lib/pure/distros.nim
Commit message (Collapse)AuthorAgeFilesLines
* use single backtick (#17166)flywind2021-02-231-1/+1
|
* Installation Instruction (#15485)Abhishek Dubey2020-10-041-2/+2
| | | The instruction command was missing `install` for Ubuntu.
* Fix OS detection in a docker container (#13172)Arnaud Moura2020-04-221-32/+46
| | | | | | | * Support detection in docker container. * Get only ID information in os-release. * Add test to distros module. * Fix Linux OS detection in Windows. * Fix OS detection for FreeBSD and OpenBSD.
* Add package install command for FreeBSD and OpenBSD. (#14051)Arnaud Moura2020-04-211-1/+3
|
* Detect Ubuntu by checking release() and uname() (#13704)Hayden2020-03-201-1/+3
| | | This will improve detection of Ubuntu when running on Ubuntu on WSL. #13703
* Add link to packaging.html (#13194)Federico Ceratto2020-01-191-0/+2
|
* fixes the distros.nim regressionAraq2019-12-241-1/+1
|
* Implement NixOS distro check (#12914)Emery Hemingway2019-12-181-1/+5
|
* Add `or detectOs(Manjaro)` (#12587) [backport]jiro2019-11-051-1/+1
| | | | | | Using `pacman` command in Manjaro Linux (cherry picked from commit 1ff3494dabd0fa5bf619fc8bd558381ead7c358d)
* [backport] run nimpretty on os-related stuffnarimiran2019-09-301-8/+10
|
* Stop false positives in distros.detectOs (#10062)Taylor Hoff2018-12-211-3/+3
| | | | | | * Stop false positives in distros.nim * Fix bad string comparison on line 176 of distros.nim
* Add call to hostnamectl in detectOsImpl (#10048)Taylor Hoff2018-12-201-3/+4
|
* Haiku support for Nim (#8542)alaviss2018-08-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* Fix for issue #5736. (#6061)Ganesh Viswanathan2017-07-071-1/+1
|
* distros.nim: brew usually doesn't require 'sudo'Araq2017-02-161-1/+1
|
* distros.nim: don't lose the information that we don't know the distro's ↵Araq2017-01-031-0/+2
| | | | package manager (yet)
* distros.nim: also try 'lsb_release -a'Araq2017-01-031-9/+12
|
* distros.nim: better documenationAndreas Rumpf2016-12-311-7/+20
|
* added distros.nim stdlib module for NimScript/Nimble supportAraq2016-12-311-0/+226