summary refs log tree commit diff stats
path: root/lib/pure/distros.nim
Commit message (Collapse)AuthorAgeFilesLines
* refactor os imports into corresponding small modules (#20720)ringabout2022-11-011-1/+1
|
* Markdown indented code blocks (#20473)Andrey Makarov2022-10-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | * Implement Markdown indented code blocks Additional indentation of 4 spaces makes a block an "indented code block" (monospaced text without syntax highlighting). Also `::` RST syntax for code blocks is disabled. So instead of ```rst see:: Some code ``` the code block should be written as ```markdown see: Some code ``` * Migrate RST literal blocks :: to Markdown's ones
* distros.foreignDeps made public (#18830)Juan Carlos2021-09-101-4/+4
| | | | | | | | | * Deprecate distros.echoForeignDeps * Deprecate distros.echoForeignDeps * https://github.com/nim-lang/Nim/pull/18830#discussion_r705364162 * https://github.com/nim-lang/Nim/pull/18830#discussion_r705364162
* Nim pretty and add void (#18652)Kyle Brown2021-08-081-6/+12
| | | | | | | | | | | | | | | * pretty and add void * distro fixup * Update lib/pure/distros.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * tab to space * requested change to be cleaner Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Add Artix to distro list (#18629)Kyle Brown2021-08-021-2/+5
|
* CIs: attempt to use csources_v1 (#16282)Andreas Rumpf2021-04-211-3/+3
| | | | | | | | * CIs: attempt to use csources_v1 * also updated the BSDs * also updated azure pipelines * std modules should not itself use the 'std/' import dir... * compiler has to be careful with std/ for v1 booting
* Small improvements for the distros module (#17309)konsumlamm2021-03-091-25/+18
|
* 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