Gabriel Arazas
62b78d1ead
licenses: add bsd2WithViews
2022-11-16 12:01:53 +08:00
John Ericson
cd27a5b436
Merge pull request #82131 from Ericson2314/bsd-cross
...
FreeBSD packages: Init at 13.1
2022-11-13 21:35:17 -05:00
Silvan Mosberger
b0a6ab09d5
Merge pull request #200667 from wegank/to-base-digits-type
...
lib.trivial.toBaseDigits: type check
2022-11-11 19:35:33 +01:00
Weijia Wang
343749453e
lib.trivial.toBaseDigits: type check
2022-11-11 10:30:23 +01:00
github-actions[bot]
3ff06869dc
Merge master into haskell-updates
2022-11-10 00:16:25 +00:00
Sandro
d9c3f3c0dc
Merge pull request #196007 from wegank/fdl11-remove
2022-11-09 22:31:50 +01:00
github-actions[bot]
8deed80953
Merge master into haskell-updates
2022-11-09 00:16:09 +00:00
Naïm Favier
025f32f705
lib/types: add descriptionClass
for path
2022-11-08 13:31:29 +01:00
sternenseemann
c7a0d75bd1
haskell.compiler.ghc92: 9.2.4 -> 9.2.5
2022-11-07 17:29:47 +01:00
Jörg Thalheim
87f4f101d7
cross/mingw: fix emulator for mingw32
2022-11-06 20:29:37 +01:00
Anderson Torres
4b59590ac5
Revert "lib,doc: remove obvious usages of toString on paths"
2022-11-05 21:57:23 -03:00
Artturin
66cf79f282
lib,doc: remove obvious usages of toString on paths
...
It gives a warning on the lazy-trees branch of Nix
(NixOS/nix#6530 )
one of these was also giving me an error (the one in lib/trivial probably)
```
$ nix build
warning: applying 'toString' to path '/home/artturin/nixgits/my-nixpkgs/nixos/modules/installer/sd-card/sd
-image-aarch64.nix' and then accessing it is deprecated, at /home/artturin/nixgits/my-nixpkgs/lib/modules.
nix:349:99
warning: applying 'toString' to path '/home/artturin/nixgits/my-nixpkgs/.git' and then accessing it is dep
recated, at /home/artturin/nixgits/my-nixpkgs/lib/sources.nix:35:32
warning: applying 'toString' to path '/home/artturin/nixgits/my-nixpkgs/nixos/modules/system/etc/etc.nix'
and then accessing it is deprecated, at «stdin»:0
warning: applying 'toString' to path '/home/artturin/nixgits/my-nixpkgs/nixos/modules/system/etc/etc-activ
ation.nix' and then accessing it is deprecated, at «stdin»:0
warning: applying 'toString' to path '/home/artturin/nixgits/my-nixpkgs/nixos/modules/installer/sd-card/sd
-image-aarch64.nix' and then accessing it is deprecated, at «stdin»:0
error: cannot decode virtual path '/nix/store/virtual0000000000000000000000005-source'
(use '--show-trace' to show detailed location information)
```
2022-11-06 00:00:39 +02:00
markuskowa
19951ca9bd
Merge pull request #199244 from markuskowa/fix-licenses
...
Fix licenses in various packages
2022-11-05 12:42:48 +01:00
John Ericson
66aa02f190
lib/systems: Support FreeBSD
...
A tricky thing about FreeBSD is that there is no stable ABI across
versions. That means that putting in the version as part of the config
string is paramount.
We have a parsed represenation that separates name versus version to
accomplish this. We include FreeBSD versions 12 and 13 to demonstrate
how it works.
2022-11-04 16:49:28 -04:00
John Ericson
f172d86a4e
lib/systems: Simplify NetBSD examples
...
The libc will be inferred.
2022-11-04 16:49:28 -04:00
Robert Hensing
1b6e5ac952
lib/tests/modules: Test doRename
2022-11-03 13:12:58 +01:00
Shea Levy
ad10d4fdef
lib.modules.doRename: Don't define warning, even as undefined, if not warning.
...
This fixes mkAliasOptionModule in systems with no warning option.
2022-11-03 13:12:58 +01:00
Markus Kowalewski
ad29005c50
arkpandora_ttf: add license
2022-11-02 22:53:58 +01:00
Weijia Wang
79f5174455
licenses: remove fdl13
2022-10-27 22:48:13 +02:00
Weijia Wang
06d0490ab3
licenses: remove fdl12
2022-10-27 22:47:29 +02:00
Weijia Wang
84d67f0574
licenses: remove fdl11
2022-10-27 22:45:22 +02:00
Silvan Mosberger
9bfc4bbd63
lib: Automatically generate lib.filesytem docs
2022-10-26 15:10:47 +02:00
Robert Hensing
bc4ce318bf
Merge pull request #173949 from jacoblambda/fix-toInt-zero-padding
...
lib: add strings.toIntBase10 to parse zero-padded strings
2022-10-24 13:22:42 +02:00
Guillaume Girol
956e35d0b1
lib.normalizePath: the empty string is not a valid regex on darwin
...
presumably due to using libc++'s regex lib instead of libstdc++ on linux
Fixes https://github.com/NixOS/nixpkgs/pull/177273#issuecomment-1287562800
2022-10-24 12:25:34 +10:00
Jacob Abel
ed71173841
lib/strings: Update docs and restructured code to improve readability of toInt and toIntBase10.
2022-10-23 17:50:24 -04:00
Jacob Abel
88b18dcf44
lib/strings: Improve error message for octal ambiguity in toInt
2022-10-23 17:50:24 -04:00
Jacob Abel
39a4ab78a1
lib/strings: Refactor toInt into toInt and toIntBase10
2022-10-23 17:50:24 -04:00
Jacob Abel
3d196a5f2a
lib/strings: Update toInt to handle intermixed ws and zeros. Added tests
2022-10-23 17:50:23 -04:00
Jacob Abel
febff1dccd
lib/strings: allow toInt to parse zero-padded strings
2022-10-23 17:50:20 -04:00
Martin Weinelt
80fc469031
Merge remote-tracking branch 'origin/master' into staging-next
2022-10-21 22:33:42 +02:00
Sandro
5106dc0ddb
Merge pull request #196397 from fgaz/hikounomizu/init
2022-10-21 19:57:12 +02:00
github-actions[bot]
c434165354
Merge master into staging-next
2022-10-21 00:05:50 +00:00
Daniel Olsen
23c1754fff
lib/tests/misc: Add tests for charToInt, escapeC, and normalizePath
2022-10-20 20:12:15 +02:00
ajs124
4284ac9dfb
lib.strings: Add normalizePath
...
dedupes extranous /'s in filepaths
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2022-10-20 20:12:15 +02:00
Daniel Olsen
4c420ee485
lib.strings: Add function to do C-style escaping
2022-10-20 20:12:15 +02:00
Daniel Olsen
a08741ffbd
lib.strings: Add function to convert character to number
2022-10-20 18:58:44 +02:00
github-actions[bot]
aac580f88f
Merge master into staging-next
2022-10-20 00:05:13 +00:00
Sandro
3e6e7aa535
Merge pull request #193551 from OPNA2608/init/mac-fdisk
2022-10-19 23:34:49 +02:00
Jan Tojnar
457f28f6f8
Merge branch 'master' into staging-next
...
; Conflicts:
; pkgs/development/tools/codespell/default.nix
codespell 2.2.2 switched to pyproject & setuptools_scm:
https://github.com/codespell-project/codespell/pull/2523
2022-10-19 05:24:28 +02:00
Robert Hensing
6259b29f29
Merge pull request #194035 from Ma27/show-option-quoting
...
lib/options/showOption: fix quoting of attr-names that are not identifiers
2022-10-18 11:31:54 +02:00
Francesco Gazzetta
f7adcd674c
lib.licenses: add lal12 and lal13
2022-10-17 12:09:45 +02:00
github-actions[bot]
7df9a7a84c
Merge staging-next into staging
2022-10-13 18:07:50 +00:00
Silvan Mosberger
bb2fb15247
Merge pull request #192755 from hercules-ci/lib-types-unspecified-name
2022-10-13 16:56:23 +02:00
Vladimír Čunát
00a757ed3f
Merge branch 'master' into staging
2022-10-13 08:27:55 +02:00
OPNA2608
1e4c40896e
licenses: Add apsl10
2022-10-13 01:00:46 +02:00
Sandro
2678c1b034
Merge pull request #193484 from wegank/gpl1-eol
2022-10-12 21:04:31 +02:00
Artturin
7e49471316
treewide: optional -> optionals where the argument is a list
...
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
github-actions[bot]
3b37795067
Merge staging-next into staging
2022-10-09 18:02:10 +00:00
github-actions[bot]
44f6a02f39
Merge master into staging-next
2022-10-09 18:01:35 +00:00
Weijia Wang
7eef7379fe
licenses: add libssh2 license
2022-10-09 12:01:58 +02:00