Matthew Bauer
dc72e8ac06
lib.generators.toPlist: add floats
...
Nix now supports floats & we can pretty easily map them to Plist’s
<real></real> type. Note that I am unsure how this affects older
version of Nix that may or may not have builtins.isFloat available.
Make sure this satisfies minver.nix’s "1.11" requirement.
2018-07-03 17:14:00 -04:00
Richard Marko
4a310a0404
lib: add float option type
2018-07-03 00:11:11 +02:00
Dan Peebles
ff9999ad1b
linux: translate config to structured config
...
Instead of using a string to describe kernel config, use a nix
attribute set, then converted to a string.
- allows to override the config, aka convert 'yes' into 'modules' or
vice-versa
- while for now merging different configs is still crude (last spec wins),
at least there should be only one CONFIG_XYZ value compared to the current string
config where the first defined would be used and others ignored.
[initial idea by copumpkin in 2016, a major rebase to 2018 by teto]
2018-06-30 16:01:41 +03:00
Matthew Bauer
a44d33aac1
Merge pull request #42669 from obsidiansystems/upstream-plist
...
Upstream PLIST handling
2018-06-28 15:26:31 -04:00
Matthew Bauer
337b58950b
generators: refactor toPlist
...
Address PR comments
Refactors
- Rename toPLIST -> toPlist
2018-06-28 15:24:12 -04:00
Matthew Bauer
d361371d23
generators: refactor toPLIST
2018-06-28 11:11:19 -04:00
Matthew Bauer
3210dd3039
generators: add PLIST handling
...
/cc @LnL7 @3noch
2018-06-27 15:35:07 -04:00
xeji
249be1c560
Merge pull request #42138 from NixOS/yegortimoshenko-patch-6
...
lib/modules: decrease mkOptionDefault priority to 1500
2018-06-27 20:29:39 +02:00
Michael Raskin
b8ffd2459d
Merge pull request #40418 from oxij/lib/fix-module-aliases
...
lib, nixos: fix module aliases in presence of defaults
2018-06-27 09:24:50 +00:00
Matthew Justin Bauer
e4d9ce9061
Merge pull request #42599 from obsidiansystems/xcodever-in-system
...
xcode: add xcodePlatform to system
2018-06-26 10:56:57 -04:00
Matthew Bauer
0bfffbc5e1
xcode: add xcodePlatform to system
...
This give us a little bit more control over what target we are using.
Eventually we can target other things like WatchOS or MacOS.
2018-06-25 22:18:23 -04:00
Matthew Justin Bauer
c16eb04425
Merge pull request #42399 from obsidiansystems/xcodever-in-system
...
xcode: add xcodeVer to system
2018-06-25 21:59:01 -04:00
Matthew Bauer
9b0b31d981
xcode: add xcodeVer to system
...
This version number controls which xcode version to use when building
cross to iOS.
2018-06-25 21:57:24 -04:00
Théo Zimmermann
4033416845
Mark more unfree licenses as unfree. See also #20256 .
2018-06-24 18:31:54 +02:00
Matthew Bauer
c8fd285c8d
android: add ndkVer to resolve ndk ambiguity
...
It wasn’t exactly clear which NDK you were using previously. This adds
an attribute to system that handles what version of the NDK we should
use when building things.
/cc @Ericson2314
2018-06-22 11:06:17 -04:00
Matthew Bauer
cf09ffe9aa
android: Use NDK 17 for aarch32
2018-06-22 09:33:25 -04:00
Yegor Timoshenko
441796cb16
lib/modules: bump mkOptionDefault priority to 1500
2018-06-17 23:29:16 +03:00
Ben Wolsieffer
7cb01d58b2
platforms/raspberrypi: enable kernelAutoModules
2018-06-12 20:44:23 +03:00
Jan Malakhovski
449d43fe01
lib: fix and simplify doRename
...
Before this change `mkRenamedOptionModule` would override option defaults
even when the old option name is left unused. For instance
```nix
{
optios = {
services.name.new = mkOption {
default = { one = {}; };
};
};
imports = [
(mkRenamedOptionModule [ "services" "name" "old" ] [ "services" "name" "new" "two" ])
];
config = {};
}
```
would evaluate to
`{ config.services.name.new = { two = {}; }; }`
when you'd expect it to evaluate to
`{ config.services.name.new = { one = {}; }; }`.
2018-06-11 15:06:27 +00:00
Jan Malakhovski
c0c43e9c07
lib: simplify mkAliasAndWrapDefinitions
2018-06-11 15:06:27 +00:00
Izorkin
35ce5c1c8e
maxscale: init at 2.1.17 ( #33835 )
2018-06-10 22:50:36 +02:00
volth
3c2bbe217c
lib: bitAnd, bitOr, bitXor (bitsize-agnostic fallback function) ( #41491 )
...
* lib: bitAnd, bitOr, bitXor
* lib: test for bitAnd, bitOr, bitXor
* lib: bitsize-agnostic zipIntBits
* lib: bitNot
* lib: bitNot
2018-06-10 21:25:48 +02:00
volth
4e85c4ff27
lib: add groupBy ( #38612 )
2018-06-10 19:31:09 +02:00
Profpatsch
f98272d6e2
Revert "lib: bitAnd, bitOr, bitXor"
2018-06-05 18:45:20 +02:00
Jörg Thalheim
d036073bcf
Merge pull request #41373 from volth/bitwise
...
lib: bitAnd, bitOr, bitXor
2018-06-03 11:38:56 +01:00
volth
078b9b4c2b
lib: test for bitAnd, bitOr, bitXor
2018-06-02 21:13:43 +00:00
volth
0addac3b0a
lib: bitAnd, bitOr, bitXor
2018-06-01 21:36:31 +00:00
Tuomas Tynkkynen
e864247f08
Merge branch 'plat-fix-for-merge-2' into master
2018-06-01 20:08:08 +03:00
Tuomas Tynkkynen
27bb4da344
platforms.nix: More rpi2 cleanup
2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen
3abdd4f1e3
platforms.nix: Clean up obsolete cruft from raspberrypi2
2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen
db2988f7bd
platforms.nix: Clean up obsolete cruft from raspberrypi
...
Works fine without, and the 'DRM n' is actually preventing the mainline
VC4 driver from building.
2018-05-31 18:06:09 +03:00
Tuomas Tynkkynen
96edbe4a0e
linux_rpi: Specify defconfig in kernel expression
...
In particular, now the mainline kernel can be built on the RPi 1 as well
(so kernelBaseConfig should always be a mainline defconfig from now on).
And RPi 2 users can now use linux_rpi without doing the
`nixpkgs.config.platform = lib.systems.platforms.raspberrypi2;` dance.
2018-05-31 18:06:09 +03:00
John Ericson
72fa40f72d
lib: Fix nix-env -qaP -f . --xml --meta
...
A merge undid my fix in d437f2c365
.
2018-05-29 13:06:17 -04:00
Tuomas Tynkkynen
2760b24462
Merge remote-tracking branch 'upstream/master' into staging
2018-05-26 19:01:18 +03:00
Graham Christensen
951e9099c0
Merge pull request #36344 from grahamc/fancy-option-names
...
lib/options: teach showOptions about funny option names
2018-05-25 20:55:17 -04:00
Jan Malakhovski
ad35019501
Merge branch 'master' into staging
...
Fixed conflicts:
- lib/systems/for-meta.nix: in favor of staging
- pkgs/os-specific/darwin/xcode/default.nix: in favor of master
2018-05-26 00:20:17 +00:00
John Ericson
d437f2c365
lib: Fix nix-env -qaP -f . --xml --meta
...
The function value cannot be serialized so nix-env was mad. Turns out we can
just remove it like we do in `lib/systems/inspect.nix`.
2018-05-24 10:43:14 -04:00
Shea Levy
6da6accd30
treewide: Remove uses of builtins.toPath.
...
toPath has confusing semantics and is never necessary; it can always
either just be omitted or replaced by pre-concatenating `/.`. It has
been marked as "!!! obsolete?" for more than 10 years in a C++
comment, hopefully removing it will let us properly deprecate and,
eventually, remove it.
2018-05-22 16:42:02 -04:00
Tuomas Tynkkynen
003473613a
Merge remote-tracking branch 'upstream/master' into staging
...
Conflicts:
pkgs/top-level/all-packages.nix
2018-05-18 03:54:38 +03:00
John Ericson
c5b13f97ff
Merge pull request #40659 from bkchr/androidndk
...
Androidndk
2018-05-17 12:04:14 -04:00
Bastian Köcher
832a8ca087
androidndk: Fix usage as crossSystem
2018-05-17 17:22:27 +02:00
John Ericson
ddbe9191ef
Merge remote-tracking branch 'upstream/master' into staging
...
Keep the dontCheck because the test suite fails, get rid of the LDFLAGS
hack because we don't need it!
2018-05-16 15:16:08 -04:00
Samuel Dionne-Riel
136f1c4706
doc: Fixes documented default option for <name>
for submodules. ( #40464 )
...
Fixes #40463
This is related to change 1d56d0c8a7
2018-05-16 18:11:36 +02:00
John Ericson
f2017c40ae
Merge remote-tracking branch 'upstream/master' into staging
2018-05-14 22:53:10 -04:00
Matthew Justin Bauer
165c151f7a
Merge pull request #34805 from rycee/fix/dorename
...
lib: make use of visible variable in doRename
2018-05-14 18:08:26 -05:00
Frederik Rietdijk
658b7c3f2e
Merge master into staging
2018-05-13 12:13:25 +02:00
John Ericson
2c5d915200
Merge commit '92b7a814f26ee1d37e989431c18518c67285a332' into staging
2018-05-13 01:02:09 -04:00
Matthew Justin Bauer
f799042d41
Merge pull request #39447 from oxij/nixos/warn-missing-stateversion
...
nixos: warn on missing `stateVersion`
2018-05-12 14:45:06 -05:00
Jan Malakhovski
4017fdcafd
lib: modules: propagate highestPrio
...
Yeah, it's ugly. But it's the minimal change that doesn't break anything
else.
2018-05-12 19:27:09 +00:00
John Ericson
92b7a814f2
Merge branch 'fix-gcc-with-float'
2018-05-12 15:21:30 -04:00
John Ericson
f2004e6287
lib: Fix float handling for Aarch32
...
Forgot to adjust default so abi with explicit float attr would be used.
2018-05-12 15:18:31 -04:00
John Ericson
6f40d18d44
prebuilt android cc: Edit wrapper to pass the right -m flags for armv7a
...
(cherry picked from commit 827ef09140
)
2018-05-12 15:16:16 -04:00
John Ericson
6a96dc0417
lib/system: Remove float from androideabi
...
There are two different official variations which differ in their float
support, so such a blanket statement is invalid.
`lib.systems.platforms.*android` already handles each case correctly.
Correcting an error in 827ef09140
.
2018-05-11 20:16:28 -04:00
John Ericson
827ef09140
prebuilt android cc: Edit wrapper to pass the right -m flags for armv7a
2018-05-11 19:17:35 -04:00
John Ericson
28bacc2093
lib/systems: Add assertion to "android" ABI
...
This is analogous to the GNU assertion.
2018-05-11 19:03:07 -04:00
John Ericson
f4de669777
lib/systems/inspect: Fix after assertions
...
Function are never equal in Nix, so we need to filter out this attribute
in ABIs.
2018-05-11 19:02:50 -04:00
John Ericson
98a1b89945
Merge pull request #40385 from obsidiansystems/lib-android-platforms
...
lib: Add 32-bit Android platforms
2018-05-11 19:01:22 -04:00
John Ericson
e3f6c6d18d
lib: Add 32-bit Android platforms
2018-05-11 18:41:55 -04:00
John Ericson
81387c2e78
Merge remote-tracking branch 'upstream/master' into staging
2018-05-11 17:12:04 -04:00
John Ericson
0a77a72895
Merge pull request #40378 from obsidiansystems/lib-platform-sort
...
lib/systems: Sort platforms, and space CPUs
2018-05-11 17:10:49 -04:00
John Ericson
341794a4b9
lib/systems: Sort platforms, and space CPUs
2018-05-11 15:02:18 -04:00
John Ericson
ee4b56edd3
Merge remote-tracking branch 'upstream/master' into staging
2018-05-11 14:36:08 -04:00
John Ericson
9e9cdd7027
lib: Add more configure flag helpers
...
Add with/without to match enable/disable, and add
`--{enable,with}-key=value` versions of both.
2018-05-11 17:43:35 +02:00
John Ericson
f18ddabee7
Merge remote-tracking branch 'upstream/master' into lib-float
2018-05-10 18:13:00 -04:00
John Ericson
1fe81a4bcd
lib: Clean up float/fpu options
...
ARM ABIs now have a float field. This is used as a fallback to lessen
our use of `platform.gcc.float`. I didn't know what the MIPs convention
is so I kept using `platform.gcc.float` in that case.
2018-05-10 18:02:00 -04:00
Matthew Justin Bauer
4ec9c4b377
Merge pull request #40255 from matthewbauer/remove-enableIfAvailable
...
treewide: remove lib.meta.enableIfAvailable
2018-05-10 16:00:16 -05:00
John Ericson
67db915a43
Merge remote-tracking branch 'upstream/master' into staging
2018-05-10 16:35:04 -04:00
John Ericson
58b2e875c2
lib/systems: Prohibit "gnu" ABI (*-gnu) with 32-bit ARM
...
It is ambiguous, and therefore banned within GCC.
2018-05-10 15:05:23 -04:00
Frederik Rietdijk
64c8c6dcb3
Merge master into staging
2018-05-10 09:30:56 +02:00
John Ericson
006422d08d
Merge commit 'feb648ce59ffbed94c58133eb7aa2761992a35e1' into staging
2018-05-10 01:55:26 -04:00
John Ericson
c17f79ea3b
Merge remote-tracking branch 'upstream/master' into lib-platform-simplify
2018-05-10 01:40:44 -04:00
John Ericson
feb648ce59
Merge commit '70963b382f3f820ba6d3bc3b3aaf50a2957ec1ff' into lib-platform-simplify
2018-05-10 01:40:38 -04:00
John Ericson
a02be2bd85
treewide: Get rid of *Platform.arch
...
Use `parsed.cpu.name` or `platform.gcc.arch` instead.
2018-05-10 01:37:31 -04:00
John Ericson
3bc923bf5f
Merge remote-tracking branch 'upstream/master' into uclibc
2018-05-10 00:23:12 -04:00
John Ericson
b3ef322770
Merge commit '70963b382f3f820ba6d3bc3b3aaf50a2957ec1ff' into uclibc
2018-05-10 00:18:51 -04:00
John Ericson
f063a860d6
xbursttools: Cleanup slightly
2018-05-09 23:40:13 -04:00
John Ericson
e42a7a5c0b
lib/systems: Add uClibc just like MUSL
2018-05-09 23:39:23 -04:00
John Ericson
0b45f0ebf9
Merge pull request #40261 from obsidiansystems/more-arm
...
lib/systems: Parse more arm cpu types
2018-05-09 20:05:10 -04:00
John Ericson
3fa0ba9177
lib/systems: Parse more arm cpu types
2018-05-09 18:57:39 -04:00
Matthew Bauer
c37b93bd52
treewide: remove lib.meta.enableIfAvailable
2018-05-09 16:21:22 -05:00
Matthew Bauer
8a98cf97e9
lib.makeSearchPath: allow null in search path
...
This makes things match ‘buildInputs’ where inputs are allowed to be
null.
2018-05-09 15:44:06 -05:00
Matthew Bauer
6748534d83
Merge remote-tracking branch 'upstream/master' into staging
2018-05-08 09:36:00 -05:00
Robert Helgesson
08e8701673
lib.types: fix loaOf behavior for long lists
...
Assigning a list of 10 or more elements to an option having the type
`loaOf a` produces a configuration value that is not honoring the
order of the original list. This commit fixes this and a related issue
arising when 10 or more lists are merged into this type of option.
2018-05-07 20:23:52 +02:00
Silvan Mosberger
facd51575e
lib/types: remove unnecessary coerceFunc assertion
2018-05-06 23:58:36 +02:00
Silvan Mosberger
cd5736116c
lib/types: clear up coercedTo description
2018-05-06 23:58:36 +02:00
Silvan Mosberger
b16a69289a
lib/types: Add coercedTo unsound tests
2018-05-06 23:58:36 +02:00
Silvan Mosberger
ef8996f15e
lib/types: Fix coercedTo check
...
Without this change
(coercedTo str toInt int).check "foo"
would evaluate to true, even though
(coercedTo str toInt int).merge {} [{ value = "foo"; }]
will throw an error because "foo" can't be coerced to an int.
2018-05-06 23:58:36 +02:00
Ben Gamari
8b32cfdbc0
lib.systems.gnu: Accept gnueabi as a gnu platform
2018-05-03 17:06:01 -04:00
John Ericson
db4f96b3cb
lib/systems: Fix eval for iphone32* examples
...
Whoops messed up 9a845de873
slightly.
2018-05-01 13:04:57 -04:00
John Ericson
9a845de873
lib/systems: Update iOS examples
...
The commented-out configs are @shlevy's old known-good ones. I changed
them as needed to play nice with lib.systems.parse but did not test so
leaving them as comments for now.
2018-05-01 01:16:27 -04:00
John Ericson
af55a0c300
Merge pull request #39788 from obsidiansystems/aarch32-for-master
...
lib: Improve deprecation message for `isArm`
2018-04-30 23:28:45 -04:00
John Ericson
57723e947a
Merge remote-tracking branch 'upstream/master' into aarch32
2018-04-30 23:06:59 -04:00
Maximilian Bosch
9274ea3903
treewide: rename version attributes
...
As suggested in https://github.com/NixOS/nixpkgs/pull/39416#discussion_r183845745
the versioning attributes in `lib` should be consistent to
`nixos/version` which implicates the following changes:
* `lib.trivial.version` -> `lib.trivial.release`
* `lib.trivial.suffix` -> `lib.trivial.versionSuffix`
* `lib.nixpkgsVersion` -> `lib.version`
As `lib.nixpkgsVersion` is referenced several times in `NixOS/nixpkgs`,
`NixOS/nix` and probably several user's setups. As the rename will cause
a notable impact it's better to keep `lib.nixpkgsVersion` as alias with
a warning yielded by `builtins.trace`.
2018-04-28 14:23:53 +02:00
Maximilian Bosch
39909289f4
lib: deduplicate version/suffix references
...
The logic regarding the generated `.version-suffix` file is already
defined in `lib/trivial.nix` and shouldn't be duplicated in
`nixos/version`.
2018-04-28 14:23:13 +02:00
Profpatsch
900cec79a0
lib/debug: add replacement instructions & release notes
...
for every deprecated function.
2018-04-27 18:59:39 +02:00
Profpatsch
5012c49fc0
lib/debug: document module & functions, prune imports
2018-04-27 18:59:39 +02:00
Profpatsch
e49f40e1ca
lib/debug: deprecate traceCallXml
...
Incompletely documented, and a FIXME/bug that has been there for years.
2018-04-27 18:59:39 +02:00
Profpatsch
fd54a946ca
lib/debug: deprecate addErrorContextToAttrs
...
The function isn’t used anywhere and `addErrorContext` is an undocumented
builtin.
The builtin is explicitely qualified at its two uses in the module system.
2018-04-27 18:59:39 +02:00
Profpatsch
562286aa56
lib/debug: deprecate traceValIfNot
...
The function is only used in exactly one module and overly specific (`c` must be
a true predicate for `x`, if not, a specific trace is called).
2018-04-27 18:59:39 +02:00
Profpatsch
7365671fb2
lib/debug: deprecate attrNamesToStr, traceXMLVal(Marked)
...
`attrNamesToStr` is very specific (and pretty trivial), so it doesn’t make sense
to have it in the library.
`traceXMLVal(Marked)` are just a builtin and `trace` and not very useful in
general (trace output should not be parsed anyway).
2018-04-27 18:59:39 +02:00
Profpatsch
a7fdd10bf3
lib/debug: deprecate & modernize showVal
...
The code is re-implemented in terms of `generators.toPretty`, but is strictly
less general than `traceValSeqN`, so we deprecate it.
2018-04-27 18:59:39 +02:00
Profpatsch
a455637d28
lib/debug: remove the deprecated strict function
...
The grace period was long enough.
2018-04-27 18:59:39 +02:00
Profpatsch
a5f6cdfd7e
lib/debug: add traceValFn, traceValSeqFn, traceValSeqNFn
...
Being able to modify the value on-the-fly before printing is very useful in
practice.
2018-04-27 18:59:39 +02:00
John Ericson
b9acfb4ecf
treewide: isArm -> isAarch32
...
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.
The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:
```
ISA: ARMv8 {-A, -R, -M}
/ \
Mode: Aarch32 Aarch64
| / \
Encoding: A64 A32 T32
```
At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.
The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.
[1]: https://developer.arm.com/products/architecture/a-profile
(cherry picked from commit ba52ae5048
)
2018-04-25 15:50:41 -04:00
John Ericson
ba52ae5048
treewide: isArm -> isAarch32
...
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.
The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:
```
ISA: ARMv8 {-A, -R, -M}
/ \
Mode: Aarch32 Aarch64
| / \
Encoding: A64 A32 T32
```
At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.
The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.
[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Profpatsch
c84dad316a
lib/generators: print paths without quotes & move function down
2018-04-25 15:31:17 +02:00
John Ericson
cf0dd1dbd2
Merge pull request #39172 from obsidiansystems/ios-cross
...
ios-sdk-pkgs: Init from iOS SDK from XCode
2018-04-19 17:00:05 -04:00
Ken Micklas
ef3db7d14c
ios-sdk-pkgs: Init from iOS SDK from XCode
2018-04-19 16:09:30 -04:00
John Ericson
53686e8995
Merge pull request #38485 from obsidiansystems/nixos-nixpkgs-options
...
nixpkgs module: Clean up platform options
2018-04-19 14:59:58 -04:00
John Wiegley
4cfdcedb71
Fix a typo: types.openSignifiantByte -> types.openSignificantByte
2018-04-13 18:41:53 -07:00
Jörg Thalheim
0fe11dbedd
Merge pull request #38611 from volth/nat-sort
...
lib: add naturalSort
2018-04-08 22:44:15 +01:00
volth
3f8c9106ea
lib: add naturalSort (move the example IPs to private space)
2018-04-08 13:54:39 +00:00
volth
25c2fd80b1
lib: add naturalSort
2018-04-08 13:18:13 +00:00
Silvan Mosberger
e1dee4efcb
lib: make extensible
...
This allows the lib fixed point to be extended with
myLib = lib.extend (self: super: {
foo = "foo";
})
With this it's possible to have the new modified lib attrset available to all
modules when using evalModules
myLib.evalModules {
modules = [ ({ lib, ... }: {
options.bar = lib.mkOption {
default = lib.foo;
};
}) ];
}
=> { config = { bar = "foo"; ... }; options = ...; }
2018-04-07 13:21:49 -04:00
John Ericson
c6f7d43678
nixpkgs module: Clean up platform options
...
- `localSystem` is added, it strictly supercedes system
- `crossSystem`'s description mentions `localSystem` (and vice versa).
- No more weird special casing I don't even understand
TEMP
2018-04-06 12:41:44 -04:00
Profpatsch
fa71407f36
lib/generators: introduce a sane default for mkValueString
...
So far, `mkValueString` defaulted to `toString`,
which is a bad match for most configuration file formats,
especially because how booleans are formatted.
This also improves error messages for unsupported types.
Add a test to codify the formatting.
2018-03-29 16:53:06 +02:00
Profpatsch
a7e45fdd8e
lib/generators: improve documentation a bit
2018-03-29 16:53:06 +02:00
Profpatsch
219ba583b2
lib/generators: improve toPretty
...
* properly escape strings
* remove one check for booleans
* improve error message
2018-03-29 16:53:06 +02:00
Franz Pletz
e6f4614e85
lib/modules: fix typo
2018-03-28 02:28:15 +02:00
Shea Levy
26e8d58cb5
libseccomp: Disable only on RISC-V if Linux.
...
The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
2018-03-27 08:16:24 -04:00
Shea Levy
cdf9a78a3e
kexectools: Disable only on RISC-V if Linux.
...
The isKexecable flag treated Linux without kexec as just a normal
variant, when it really should be treated as a special case incurring
complexity debt to support.
2018-03-27 08:15:07 -04:00
Matthew Justin Bauer
8f3091939b
Merge pull request #37752 from ryantm/fix-urls
...
treewide: use more HTTPS URLs
2018-03-25 00:40:17 -05:00
Ryan Mulligan
b189247ba0
treewide: use more HTTPS URLs
...
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.
Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
Shea Levy
20f51922c0
riscv-pk: Set platforms properly
2018-03-24 08:44:26 -04:00
Eelco Dolstra
7db841512a
Remove obsolete /nix/var/nix/{manifests,channel-cache}
2018-03-20 18:26:13 +01:00
John Ericson
d9a1800239
lib: Add lib.platforms.windows
2018-03-20 12:47:45 -04:00
John Ericson
3c8ae01a45
lib: Make platforms.all
actually match all platforms
...
Otherwise obscure cross-compilations are hampered. `all` breaks all but
the initial derivation (which we can't even write yet) in an open world
setting however, so we really shouldn't have it.
2018-03-20 12:46:19 -04:00
John Ericson
175d4ab1db
lib: Make platform predicates greppable
...
Should have commited on here and on merged master to begin with, but I
didn't, so instead I cherry-pick.
(cherry picked from commit 88c04a8b6b
)
2018-03-20 12:35:20 -04:00
John Ericson
88c04a8b6b
lib: Make platform predicates greppable
2018-03-19 22:20:48 -04:00
John Ericson
3c331bff5b
Merge pull request #37395 from obsidiansystems/lib-meta-platform
...
lib: Factor in tiny bit of `meta.platform` checking
2018-03-19 20:12:50 -04:00
John Ericson
e547bd0dc4
lib: Factor in tiny bit of meta.platform
checking
...
I need it in stdenv and release-lib, so that seems motivation enough.
2018-03-19 19:29:16 -04:00
John Ericson
c22e2f86c7
Merge pull request #37359 from obsidiansystems/lib-darwin-reorg
...
lib: Split Darwin into macOS and iOS
2018-03-19 15:08:06 -04:00
John Ericson
bbfa2f9701
lib: Split Darwin into macOS and iOS
...
I noticed LLVM accepts `ios` as its own OS in platform triples; a
recent change as far as I know. I see it also accepts `macos*` for macOS
(formerly OS X). If it's now customary to distinguish iOS like so
(rather than guessing from the aarch, lets add both so our OSes are
still disjoint, and make Darwin a family instead.
But changing the config everywhere would probably be a mass rebuild, and
I'm not sure how well other software supports OSes besides "darwin", so
I'm keeping that the default name for macOS for now.
2018-03-19 12:02:49 -04:00
Moritz Küttel
d17e6f2c3e
add the CPAL-1.0 license
...
The 'Common Public Attribution License 1.0' is used
for projectlibre and required for packaging it into nixpkgs.
2018-03-18 19:30:50 +00:00
John Ericson
2fa2197a96
Merge pull request #34444 from obsidiansystems/meta-check
...
lib: Fix #30902
2018-03-18 13:51:03 -04:00
John Ericson
c26252af3e
lib, stdenv: Check meta.platforms
against host platform and be open world
...
First, we need check against the host platform, not the build platform.
That's simple enough.
Second, we move away from exahustive finite case analysis (i.e.
exhaustively listing all platforms the package builds on). That only
work in a closed-world setting, where we know all platforms we might
build one. But with cross compilation, we may be building for arbitrary
platforms, So we need fancier filters. This is the closed world to open
world change.
The solution is instead of having a list of systems (strings in the form
"foo-bar"), we have a list of of systems or "patterns", i.e. attributes
that partially match the output of the parsers in `lib.systems.parse`.
The "check meta" logic treats the systems strings as an exact whitelist
just as before, but treats the patterns as a fuzzy whitelist,
intersecting the actual `hostPlatform` with the pattern and then
checking for equality. (This is done using `matchAttrs`).
The default convenience lists for `meta.platforms` are now changed to be
lists of patterns (usually a single pattern) in
`lib/systems/for-meta.nix` for maximum flexibility under this new
system.
Fixes #30902
2018-03-15 00:44:34 -04:00
John Ericson
2e87550ace
Merge pull request #36985 from obsidiansystems/no-allBut
...
treewide: get rid of platforms.allBut
2018-03-14 18:57:28 -04:00
John Ericson
f79f80dbf2
treewide: get rid of platforms.allBut
...
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00
Shea Levy
b66d7dc0ce
lib.isStorePath: Fix derivation detection
2018-03-09 17:21:31 -05:00
Shea Levy
6fcf691545
lib-tests: Don't depend on /bin/sh
...
https://hydra.nixos.org/build/70748333
2018-03-08 08:36:35 -05:00
Jan Malakhovski
610b5b8045
rename lib/maintainers-list.nix into maintainers/maintainer-list.nix
...
Many commits unrelated to `lib` touch that file, this will make `git log ./lib` much saner.
This is what I meant in https://github.com/NixOS/nixpkgs/pull/36119#issuecomment-370184101 .
2018-03-06 14:15:21 +00:00
Jörg Thalheim
07bc1ddace
Merge pull request #36250 from sengaya/add-ansible-lint
...
ansible-lint: init at 3.4.20
2018-03-06 00:12:37 +00:00
Graham Christensen
5e8bdb8972
maintainers: remove null fields
2018-03-05 11:14:35 -05:00
Graham Christensen
059a71a611
lib/options: teach showOptions about funny option names
...
Handle the case where options have funny symbols inside of them.
Example:
If I reference the following attribute without it being defined:
security.acme.certs."example.com".webroot
I now get the error:
The option `security.acme.certs."example.com".webroot' is used but
not defined.
where before I got:
The option `security.acme.certs.example.com.webroot' is used but
not defined.
which is not true.
2018-03-05 09:58:06 -05:00
Jörg Thalheim
73774ef8f9
Merge pull request #36168 from ryantm/majorminor
...
a single version attribute for expressions previously using "majorVersion"
2018-03-04 20:06:48 +00:00
Ryan Mulligan
a9d0778cd4
lib: add versions library
2018-03-04 06:28:34 -08:00
Thilo Uttendorfer
861e2de8a8
ansible-lint: init at 3.4.20
2018-03-04 14:14:00 +01:00
Shea Levy
f1eb2f35a6
lib/tests: Add check-eval.nix to run simple tests.
...
This can be used by evaluation-only tools to validate tests are still
working.
2018-03-04 06:28:49 -05:00
Graham Christensen
f7da7fa0c3
Revert "Revert "Convert maintainer file entries to attributes, add github handles""
2018-03-04 05:13:19 +01:00
Graham Christensen
b9f1a76f30
Revert "Convert maintainer file entries to attributes, add github handles"
...
This reverts commit aa47bac04f
.
2018-03-03 22:34:17 -05:00
Graham Christensen
52963931cd
Revert "lib/maintainers: correct wrong (clashing) github handles"
...
This reverts commit 8e4c39adeb
.
2018-03-03 22:34:17 -05:00
Graham Christensen
43217601b0
Revert "lib/maintainers: add new maintainers before maintainers merge"
...
This reverts commit aecebe8280
.
2018-03-03 22:34:17 -05:00
Graham Christensen
3e55c5d1f7
Revert "lib/maintainers: rename file to maintainers-list.nix"
...
This reverts commit 24684008df
.
2018-03-03 22:34:17 -05:00
Profpatsch
24684008df
lib/maintainers: rename file to maintainers-list.nix
...
Based on a request by @oxij:
“Can we also rename this file to `maintainers/maintainers-list.nix` while we at
this? Motivation: much saner `git log ./lib`.”
2018-03-04 03:26:44 +01:00
Profpatsch
aecebe8280
lib/maintainers: add new maintainers before maintainers merge
...
Add new maintainers that were added before merging the new `maintainers.nix`
file format.
2018-03-04 03:26:44 +01:00
Profpatsch
8e4c39adeb
lib/maintainers: correct wrong (clashing) github handles
...
Corrected every handle that had no commits to nixpkgs, manually researched the
correct handles by looking at maintained packages & blames/history on Github.
2018-03-04 03:26:44 +01:00
Profpatsch
aa47bac04f
Convert maintainer file entries to attributes, add github handles
...
Based on https://github.com/NixOS/nixpkgs/pull/34842 , the
nix-instantiate output was pretty-printed and the validity of the github handles
manually verified, by automatically checking whether the user handles exist on
github (https://github.com/userhandle , status 200 or 404).
Each handle under 5 characters was manually checked (because the collision
probability with non-maintainer accounts is high), each missing entry was
manually researched.
The script used is kept in `maintainers/scripts` as an example of how to work
with the mainainers list through nix’ JSON interface.
2018-03-04 03:26:44 +01:00
Jörg Thalheim
fe2acc2b2c
Merge pull request #36215 from xnaveira/py-junos-eznc
...
Py junos eznc
2018-03-03 17:35:58 +00:00
Vladimír Čunát
7b2cf5b12e
lib.addPassthru: removed as scheduled
2018-03-03 17:57:38 +01:00
Andrey Golovizin
cc2aa6f358
pythonPackages.pymetar: add myself as maintainer
2018-03-02 16:46:36 +01:00
Xavier Naveira
284c6a5990
pythonPackages.scp: init at 0.10.2
2018-03-02 15:24:00 +01:00
timor
7e54a70960
maintainers: add myself
2018-03-01 23:54:04 +01:00
Erik Arvstedt
f9f360883b
untrunc: init at 2018.01.13
2018-03-01 20:30:48 +01:00
babariviere
6967498370
fix LD_PRELOAD error for bear
2018-03-01 18:14:24 +01:00
lejonet
565f22d27a
nixos/ceph: init module ( #35299 )
...
All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
2018-03-01 11:47:13 +00:00
John Ericson
2482e2858e
prebuilt android tools: Init using SDK
...
Expose as an option for the cross stdenv.
2018-02-27 14:15:39 -05:00
John Ericson
dfc5d7835d
Merge pull request #35247 from telent/mips32
...
lib, treewide: Add missing MIPS arches, and fix existing usage
2018-02-27 14:01:15 -05:00
Teo Klestrup Röijezon
c4bd96ee17
maintainers: add teozkr
2018-02-26 23:52:52 +01:00
Luka Blaskovic
f65414ea07
maintainers: add lblasc
2018-02-26 09:16:57 +00:00
Shea Levy
3c57e770cf
Only build libseccomp on supported systems
2018-02-24 23:05:08 -05:00
Shea Levy
0ac6d4aeb6
gnu-efi: Fix aarch64 cross-build
2018-02-24 22:15:48 -05:00
Shea Levy
87270fb306
gnu-efi: Only build on efi-enabled systems
2018-02-24 21:49:31 -05:00
Shea Levy
63fa1fcb04
kexectools: Only build on kexecable architectures.
2018-02-24 10:37:54 -05:00
Daniel Barlow
9c50ae6898
lib, treewide: Add missing MIPS arches, and fix existing usage
...
Existing "mips64el" should be "mipsel".
This is just the barest minimum so that nixpkgs can recognize them as
systems - although required for building individual derivations onto
MIPS boards, it is not sufficient if you want to actually build nixos on
those targets
2018-02-23 20:43:42 -05:00
Vasyl Solovei
c2b781a70e
maintainers: add svsdep
2018-02-23 06:56:56 +01:00
Franz Pletz
512fb52ed4
Merge pull request #35356 from troydm/master
...
rtl8192eu: init at 4.4.1
2018-02-22 23:46:35 +00:00
troydm
89d660f7f1
rtl8192eu: init at 4.4.1
2018-02-22 21:18:01 +02:00
Jörg Thalheim
d4385d7fc3
Merge pull request #35134 from xeji/mfcl2720dw
...
mfcl2720dwlpr / mfcl2720dwcupswrapper: init at 3.2.0-1
2018-02-21 10:28:24 +00:00
Jörg Thalheim
599a223838
z88dk: init at unstable-2018-02-20 ( #35244 )
...
fixes #35039
2018-02-20 22:06:25 +00:00
lewo
040fb6c1a0
Merge pull request #35117 from suvash/add-docker-credential-gcr
...
docker-credential-gcr: init at 1.4.3
2018-02-20 12:32:46 +01:00
Jörg Thalheim
b7fb6edf2e
Merge pull request #35178 from limeytexan/perl-BSD-Resource
...
perl-BSD-Resource: init at 1.2911
2018-02-20 11:03:30 +00:00
Shea Levy
32d3533b29
riscv: Compile console support into the kernel.
2018-02-19 22:43:18 -05:00
Shea Levy
6173f2f945
linux_riscv: Add 4.16-rc1.
...
Fixes #35148 .
2018-02-19 12:14:22 -05:00
Michael Brantley
a83716f256
perl-BSD-Resource: init at 1.2911
2018-02-19 09:38:45 -05:00
xeji
e612f70393
new maintainer: xeji
2018-02-18 19:16:18 +01:00
Suvash Thapaliya
c7e01acef2
docker-credential-gcr: init at 1.4.3
...
Docker authentication helper for Google Cloud (gcr.io) repositories
2018-02-18 15:48:30 +01:00
Shea Levy
e288febee0
Add riscv{32,64} crossSystems.
2018-02-18 00:09:25 -05:00
Joachim F
5b98e8e231
Merge pull request #35001 from NinjaTrappeur/excelsior
...
fixedsys-excelsior: init at 3.00.
2018-02-17 18:35:51 +00:00
Anderson Torres
ef5860db3e
Merge pull request #33446 from AndersonTorres/upload-jwasm
...
Jwasm: init at git-2017-11-22
2018-02-17 13:13:26 -02:00
Luke Sandell
635011f219
wsjtx: init at 1.8.0 ( #33247 )
2018-02-17 11:06:27 +00:00
Félix Baylac-Jacqué
91744fc76f
fixedsys-excelsior: init at 3.00.
2018-02-17 12:04:12 +01:00
Joachim F
faf072166b
Merge pull request #29869 from Nadrieril/syncserver-fup
...
syncserver service: follow-up of #28189
2018-02-17 10:09:42 +00:00
Joachim F
3b9874452d
Merge pull request #34564 from StijnDW/master
...
Add new package "ncpamixer"
2018-02-16 22:09:04 +00:00
Stijn DW
71d1f053b7
Add StijnDW to maintainers list
2018-02-16 22:47:16 +01:00
Vladimír Čunát
b5aaaf87a7
Merge staging and PR #35021
...
It's the last staging commit (mostly) built on Hydra,
and a minimal fix for Darwin regression in pysqlite.
2018-02-16 09:13:12 +01:00
Tad Fisher
9b7467eecb
acpica-tools: init at 20180209 ( #34883 )
2018-02-15 20:50:57 +00:00
0x4A6F
4ef3b1bc48
Adding @0x4A6F to maintainers.nix ( #34984 )
...
* Adding @0x4A6F to maintainers.nix
* Removing decimal from handle
* Convert handle from Hex to ASCII
2018-02-15 07:46:14 +00:00
Tuomas Tynkkynen
e4bfe5aac9
treewide: Drop kernelHeadersBaseConfig
...
Nothing actually needs this.
2018-02-14 01:47:28 +02:00
Tuomas Tynkkynen
1a06373c0a
Merge remote-tracking branch 'upstream/master' into staging
...
Conflicts:
pkgs/development/libraries/libclc/default.nix
pkgs/top-level/all-packages.nix
2018-02-13 16:42:55 +02:00
Niko Pavlinek
0601c4e872
yokadi: init at 1.1.1
2018-02-12 21:01:48 +01:00
Vladimír Čunát
040bde9052
Merge #34866 : nixos doc: efficient comparisons
...
This solves most of the performance regression from a7d75ab
(#33898 ).
2018-02-12 08:31:43 +01:00
Profpatsch
53e790e7a8
maintainers: capitalize the Profpatsch attribute (vanity)
...
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00
adisbladis
0fb2ac4e20
Merge pull request #34830 from andrew-d/adunham/lego
...
lego: init at unstable-2018-02-02
2018-02-12 11:32:43 +08:00
Jan Malakhovski
a3a8c1f54d
lib: export option location in optionAttrSetToDocList
2018-02-11 22:04:09 +00:00
Will Dietz
f090bbb248
Drop "isGlibc", but keep isMusl.
...
gnu "abi" doesn't mean glibc (mingw, apparently).
2018-02-11 14:55:17 -06:00
Will Dietz
2dfee94fe7
lib/systems: musl, libc predicates
...
Note this doesn't actually provide musl support yet,
just improves our "system" code to understand
musl-based triples and non-glibc linux configurations.
2018-02-11 14:20:14 -06:00
Andrew Dunham
ac5e4d4990
lego: init at unstable-2018-02-02
2018-02-11 12:17:25 -08:00
Andreas Rammhold
7fad46051e
Merge pull request #34681 from xurei/master
...
postman: init at 5.5.2
2018-02-11 20:43:53 +01:00
Olivier Bourdoux
63a4cbfb43
postman: init at 5.5.2
2018-02-11 18:39:44 +01:00
Jörg Thalheim
78ab1b0a17
Merge pull request #34845 from yesbox/bfs_init
...
bfs: init at 1.2.1
2018-02-11 17:37:06 +00:00
Jesper Geertsen Jonsson
4cb393cf12
Adds license "BSD Zero Clause License"
2018-02-11 16:19:01 +01:00
Jesper Geertsen Jonsson
559047c67f
Adds Jesper as maintainer :)
2018-02-11 16:18:19 +01:00
Frederik Rietdijk
27217271e1
Merge pull request #34826 from va1entin/pynacl
...
pythonPackages.pynacl: 0.3.0 -> 1.2.1
2018-02-11 08:48:56 +00:00
Valentin Heidelberger
97982f264a
pythonPackages.pynacl: 0.3.0 -> 1.2.1
2018-02-11 01:52:38 +01:00
Robert Helgesson
a7ed44ccad
lib: make use of visible variable in doRename
...
The `visible` variable was not hooked up previously. It is used to
determine whether the renamed option should be shown in the
documentation.
2018-02-10 10:29:33 +01:00
Graham Christensen
5aabf0fc34
Merge pull request #33898 from oxij/nixos/related-packages-v5
...
nixos: doc: implement related packages in the manual (again)
2018-02-09 20:36:27 -05:00
Jan Malakhovski
660806066a
nixos, lib: implement relatedPackages option
...
This allows one to specify "related packages" in NixOS that get rendered into
the configuration.nix(5) man page. The interface philosophy is pretty much
stolen from TeX bibliography.
See the next several commits for examples.
2018-02-09 19:51:06 +00:00
Jan Malakhovski
ee3220440d
lib: implement compare
, splitByAndCompare
, and compareLists
2018-02-09 19:51:05 +00:00
symphorien
0146074560
nixos/tests: add predictable-interface-names.nix ( #34305 )
2018-02-09 18:40:39 +00:00
Matthieu Chevrier
00970f76f9
theharvester: init at 2.7.1 ( #34704 )
2018-02-09 09:00:15 +00:00
mkgvt
f41eb52bc9
rename: init at 1.9 ( #34719 )
2018-02-09 08:05:11 +00:00
Robert Schütz
c65e36c9ca
lib/types: add types.nonEmptyListOf
2018-02-08 10:01:49 +01:00
Daiderd Jordan
c0aa8f5fb8
Merge pull request #34630 from varunpatro/lsusb
...
lsusb for OSX
2018-02-07 18:34:41 +01:00
Varun Patro
768fe4f230
Add 'varunpatro' to maintainers list.
2018-02-07 14:00:46 +08:00
Michael Raskin
907474e649
Merge pull request #33088 from exFalso/add-subdl
...
init subdl package
2018-02-06 21:32:53 +00:00
Tuomas Tynkkynen
c9d1bf3e76
platforms.nix: Include RPi 3 serial port in the kernel config
2018-02-06 22:14:09 +02:00
Bignaux Ronan
65f90f9c67
assaultcube: init at official master branch , rev = "9f537b0876a39d7686e773040469fbb1417de18b" ( #34623 )
...
* assaultcube: init at official git master branch
2018-02-05 16:06:49 +01:00
Graham Christensen
92b786a2fb
Merge pull request #30068 from mpickering/osm2xmap
...
libroxml: init at 2.3.0 and osm2xmap: init at 2.0 c1f7b68
2018-02-03 13:58:35 -05:00
Matthew Pickering
5dbaf18b69
Add mpickering to maintainers list
2018-02-03 18:35:54 +00:00
Răzvan Flavius Panda
4a7ae5c6b7
AntTweakBar: init at 1.16
2018-02-03 13:31:10 +02:00
Shea Levy
43f647e5b4
Merge branch 'dynamic-function-args'
2018-02-02 09:41:16 -05:00
Kevin Liu
93532b0d3a
looking-glass-client: init at a10
2018-02-02 01:46:00 +01:00
Frederik Rietdijk
d30735f889
Merge pull request #34188 from dotlambda/home-assistant
...
home-assistant: init at 0.62.1
2018-02-01 08:44:48 +00:00
Franz Pletz
c7885866e4
Merge pull request #34414 from dotlambda/postfix
...
postfix: Correct license
2018-02-01 08:34:33 +00:00
Shea Levy
943592f698
Add setFunctionArgs lib function.
...
Among other things, this will allow *2nix tools to output plain data
while still being composable with the traditional
callPackage/.override interfaces.
2018-01-31 14:02:19 -05:00
John Ericson
afb87a66b3
lib: Avoid double import
2018-01-31 00:13:11 -05:00
John Ericson
ad78ba1efa
lib: Better use the module type system in platform parsing
...
I need some module system types here so I can next fix meta-checks for
derivations. I'd like to use a "proper" record type here, but submodule
types seem overkill so holding off with ad-hoc stuff for now. In
practice, all I need for the next step are the `.check` functions so
this is good, especially as the submodule check function is shallow,
saving full inductive type-checking for a later step.
2018-01-30 22:03:06 -05:00
Robert Schütz
dff396484d
postfix: Correct license
2018-01-30 13:15:41 +01:00
Jörg Thalheim
add22af095
Merge pull request #34381 from JohnAZoidberg/less
...
nixos/less configure less with module
2018-01-30 10:41:39 +00:00
Felix Breidenstein
6a2ead51ad
Add f-breidenstein as maintainer
2018-01-30 11:01:05 +01:00
Stefan Frijters
6c744fc93d
pyprof2calltree: init at 1.4.3 ( #34379 )
2018-01-30 09:09:36 +00:00
Daniel Schaefer
192c2330d0
nixos/less configure less with module
2018-01-29 18:40:22 +07:00
adisbladis
19c87f87fb
Merge pull request #33882 from tilpner/goxel-init
...
goxel: init at 0.7.2
2018-01-28 22:32:59 +08:00
Graham Christensen
140f0a802c
Merge pull request #34096 from scode/scode/flameshot
...
flameshot: init at 0.5.0
2018-01-28 07:44:12 -05:00
Renato Alves
43b72ba4c5
Add Renato Alves (unode) to maintainers
2018-01-27 16:41:02 +01:00
John Ericson
57b01b1bcf
lib, openssl: Get rid of openssl.system
...
We compute it on the fly, careful to avoid any mass rebuilds for now.
2018-01-26 21:22:00 -05:00
John Ericson
16a50f5a07
lib: Remove examples platforms' bigEndian
attr
...
They still have `parsed.cpu.significantByte` which has the same info.
2018-01-26 21:22:00 -05:00
John Ericson
71f814a889
lib, glibc: Get rid of withTLS
...
glibc removed the underlying flag in 2011 in
83cd14204559abbb52635006832eaf4d2f42514a [1].
This gets us one step closer to fixing #34274 : the cross stdenv for
aarch64-unknown-linux-gnu at least evals now.
Thanks to @Dezgeg for doing all the research for this.
[1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=83cd14204559abbb52635006832eaf4d2f42514a
2018-01-26 23:29:06 +02:00
John Ericson
14725b94d5
Merge pull request #34269 from obsidiansystems/lib-riscv-wasm
...
lib: Allow parsing platform configs with arch of `{riscv,wasm}{32,64}`
2018-01-26 13:09:12 -05:00
John Ericson
d1478c91c3
lib: Allow parsing platform configs with arch of {riscv,wasm}{32,64}
...
Also add `isRiscv` and `isWasm` predicates.
2018-01-26 12:44:05 -05:00
Orivej Desh
3989b33e74
Merge pull request #34245 from orivej/addPassthru
...
addPassthru: fix argument order
2018-01-25 10:37:36 +00:00
Samuel Leathers
efdb0983da
Merge pull request #34199 from arcadio/kallisto
...
kallisto: init at 0.43.1
2018-01-24 20:43:24 -07:00
Orivej Desh
ce1d740fa6
addPassthru: fix argument order
...
addPassthru became unused in #33057 , but its signature was changed at the same
time. This commit restores the original signature and updates the warning and
the changelog.
2018-01-24 23:06:12 +00:00
Arcadio Rubio García
a7333e9ced
kallisto: init at 0.43.1
2018-01-24 16:16:46 +00:00
チルノ
b23e92eac1
tewisay: init at git-2017-04-14 ( #33488 )
2018-01-21 22:31:51 +00:00
Nicolas Mattia
1d47908879
gpp: init at 2.25 and add @nmattia as maintainer ( #34098 )
...
* maintainers: add nmattia
* gpp: init at 2.25
GPP is a handy preprocessing tool, not yet present in the package set.
2018-01-21 19:17:31 +00:00
Peter Schuller
f08394436a
flameshot: init at 0.5.0
2018-01-21 10:56:40 -08:00
Matan Shenhav
c8300a0596
pythonPackage.python-oauth2: init at 1.0.1
2018-01-20 13:54:05 +00:00
Marek Mahut
9844e027c4
mencal: init at 3.0
2018-01-17 16:24:59 +02:00
Leon Schuermann
a6dca04272
woof: init at 2012-05-31
2018-01-17 21:59:18 +08:00
y0no
7e0402632d
bettercap: init at 1.6.2 ( #33902 )
2018-01-16 07:40:49 +00:00
tilpner
fb1d094672
goxel: init at 0.7.2
2018-01-16 03:23:18 +01:00
Ashley Gillman
271d4a7ca0
dcm2niix: init at 1.0.20170130
2018-01-15 16:45:03 +10:00
Vladimír Čunát
67e8392383
Merge #33057 : stdenv meta checks: make them lazy
...
Closes #22277 - it's superseded; I have some WIP on evaluation
performance, but best do that in a separate PR/thread.
2018-01-14 21:41:31 +01:00
Jan Malakhovski
41df994001
lib: deprecate addPassthru
2018-01-14 19:54:47 +00:00
Jan Malakhovski
85cd22cf7d
treewide: replace addPassthru
2018-01-14 19:53:57 +00:00
Jan Malakhovski
8606dd8556
lib: change the order of arguments of addPassthru
2018-01-14 13:24:30 +00:00
Graham Christensen
34b4d41a84
Merge pull request #33792 from paraseba/scidvspc
...
scid-vs-pc: init at version 4.18.1
2018-01-13 21:16:19 -05:00
Jörg Thalheim
a100ed0ae3
Merge pull request #33793 from sellout/add/flootty
...
flootty: init at 3.2.1
2018-01-13 17:46:28 +00:00
xurei
b9ae8efca5
libzxcvbn: init at 2.3 ( #33822 )
...
* Add package libzxcvbn
* zxcvbn-c: name after the project not the library
2018-01-13 10:40:45 +00:00
Greg Pfeil
38deb53542
Merge branch 'master' into add/flootty
2018-01-12 15:08:44 -07:00
Florian Engel
48776d58b1
lolcat: 42.1.0 -> 90.8.8
2018-01-12 20:18:54 +01:00
Gregory Pfeil
79db7c0616
flootty: init at 3.2.1
2018-01-12 10:32:50 -07:00
Sebastian Galkin
6b6e95ae1f
Add paraseba as maintainer
2018-01-12 14:39:44 -02:00
Shea Levy
4e78aeb441
callCabal2nix: Fix calling with a path in the store.
2018-01-11 10:17:56 -05:00
Luz
e056315a3e
librepcb-unstable: init at 2017-12-29 ( #33630 )
2018-01-11 09:20:00 +00:00
Andreas Rammhold
32f6c9a73d
Merge pull request #33633 from samueldr/feature/dbeaver
...
dbeaver: inits at 4.3.2
2018-01-10 19:30:38 +00:00
Peter Simons
a45ae5463b
Merge pull request #33312 from ElvishJerricco/composable-filter-source
...
Added composable version of `filterSource` to `lib`
2018-01-10 07:23:07 +01:00
Will Fancher
7e5f37d73b
Added lib.cleanSourceWith
as composable version of filterSource
2018-01-09 18:59:03 -05:00
Christian Kauhaus
18cf038d6f
Update my e-mail address
...
My work address is more appropriate now.
2018-01-09 12:09:36 +01:00
Samuel Dionne-Riel
b6829f5d6a
maintainers: Adds samueldr.
2018-01-08 18:22:13 -05:00
Yegor Timoshenko
ad26bfd316
lib/maintainers: fix typo
2018-01-08 15:12:00 +00:00
Alex Griffin
a05e7a56d3
maintainers: add ajgrf
2018-01-06 09:09:30 -06:00
Orivej Desh
a2a7d86942
Merge pull request #33252 from dzabraev/master
...
pysigset: init at 0.3.2
2018-01-06 03:13:15 +00:00
AndersonTorres
1d28f2ba69
Add watcom-1.0 license
2018-01-05 01:48:11 -02:00
Joachim F
cf944e4c12
Merge pull request #33344 from dtzWill/feature/icesl
...
icesl: init at 2.1.10
2018-01-04 19:29:11 +00:00
Ryan Trinkle
e1e5860ab5
Merge pull request #33346 from ryantrinkle/init-thunderbolt
...
Init thunderbolt at 0.9.2
2018-01-03 17:31:57 -05:00
Profpatsch
319722113e
lib/generators: abort on pattern match failure
2018-01-03 23:13:50 +01:00
Jan Malakhovski
b1ca8517ee
lib: generalize addPassthru
to extendDerivation
2018-01-03 12:20:24 +00:00
Ryan Trinkle
70cf769082
maintainers: add ryantrinkle
2018-01-02 14:27:20 -05:00
Merlin Göttlinger
60e76dfff8
icesl: init at 2.1.10
2018-01-02 13:19:47 -06:00
John Ericson
1ecebbd939
Merge pull request #33240 from velovix/master
...
lxterminal: init at 0.3.1
2018-01-02 10:05:28 -05:00
Jörg Thalheim
2563f7d2af
Merge pull request #33298 from chreekat/perl-vidir
...
perl-vidir: init at 0.040
2018-01-02 08:12:58 +01:00
Bryan Richter
453be1677e
perl-vidir: init at 0.040
2018-01-01 16:13:21 -05:00
Maxim Dzabraev
548a14a7b7
add new maintainer
2017-12-31 20:36:20 +03:00
Thomas Tuegel
6da5e73ad8
Merge pull request #27593 from bugworm/qtstyleplugin-kvantum
...
qtstyleplugin-kvantum: init at 0.10.4
2017-12-31 08:40:26 -06:00
Tyler Compton
b1d1679d5c
lxterminal: init at 0.3.1
2017-12-31 03:28:06 -07:00
David Asabina
8dbfe6990e
maintainers: add @vidbina
2017-12-30 21:58:27 +01:00
Sébastien Maccagnoni
9db8e22679
gnomeExtensions.mediaplayer: init at 3.5
2017-12-30 20:00:22 +01:00
Adam Fidel
6a6e34b81e
fastpbkdf2: init at version 1.0.0 ( #33155 )
2017-12-30 05:26:08 +03:00
Maciek Starzyk
8bf2a0971e
miller: init at 5.2.2
2017-12-29 21:55:42 +01:00
John Mercier
78d76e4b55
jbake: init at 2.5.1
2017-12-29 03:26:13 +01:00
Joe Doyle
e9886dde9b
csfml: init at 2.4 ( #33000 )
2017-12-28 22:04:02 +01:00
hyphon81
50a6403b09
maintainers: Add hyphon81
2017-12-28 17:46:44 +01:00
exfalso
9cfe7e74e0
subdl: init at 4cf5789
2017-12-26 20:53:18 +00:00
Ivan Jager
36d0180057
altcoins.aeon: init at 0.9.14.0
2017-12-22 15:20:21 -06:00
Thane Gill
ede2a5768f
Add Thane Gill to maintainers
2017-12-14 17:26:27 -08:00
Joachim F
fbc452c836
Merge pull request #32202 from ilya-kolpakov/python-quandl
...
pythonPackages.quandl: 3.0.0 -> 3.2.1
2017-12-14 16:49:19 +00:00
Sarah Brofeldt
8f8b9f1a50
Merge pull request #32597 from Enzime/add/syncplay
...
Add syncplay 1.5.0
2017-12-12 20:54:11 +01:00
André-Patrick Bubel
bd384b0ae9
maintainers: Add moredread
2017-12-12 14:32:12 +01:00
Michael Hoang
a1ab4788dd
syncplay: init at 1.5.0
2017-12-13 00:06:12 +11:00
Pierre-Étienne Meunier
a13fc5f4cc
maintainers.nix: add pmeunier
2017-12-12 04:58:45 -06:00
Orivej Desh
c7bf1b8a0e
Merge pull request #32036 from mbode/flink-1_3_2
...
flink: init at 1.3.2
2017-12-09 17:53:57 +00:00
Nadrieril
8851ef84c8
firefox.syncserver service: Add nadrieril to maintainers
2017-12-08 22:18:57 +00:00
Pascal Wittmann
ae7e3a3a41
Merge pull request #32378 from markuskowa/master
...
airspy: init at 1.0.9
2017-12-07 12:38:38 +01:00
John Ericson
cc20d402d4
Merge pull request #32361 from obsidiansystems/gcc-simplify-flags
...
gcc: Simplify configure flags
2017-12-07 00:59:49 -05:00
Izorkin
3025eb446b
mydumper: init at 0.9.3
2017-12-07 09:41:32 +08:00
Markus Kowalewski
e832834a14
airspy: init at 1.0.9
2017-12-06 00:37:05 -08:00
John Ericson
43d5c5d6db
Merge commit '703a9f93c1254f7bdf0350ca0462de0d78033c62' into gcc-simplify-flags
2017-12-05 17:58:16 -05:00
John Ericson
992bd2f6d3
Merge commit 'ab77a6bb1e7d2ff475210ad392f1a9bd1bb6ba3a' into gcc-simplify-flags
2017-12-05 17:41:15 -05:00
John Ericson
93cd0685c5
Merge commit '71186e73455a4e06e96a31da34b76f84e545ba1f' into gcc-simplify-flags
2017-12-05 17:09:41 -05:00
John Ericson
c8d435476d
lib: Unbreak pogoplug example platform
...
Vendor needed to be made valid
2017-12-05 14:17:00 -05:00
Bert Moens
b8b7428a81
pcscd: add plugin for ACS ACR38U smart card reader
2017-12-05 20:11:17 +01:00
John Ericson
1fe9798ac2
lib, gcc: No inherit (platform) gcc;
in {host,build,target}Platform
2017-12-05 13:52:20 -05:00
Ryan Trinkle
83048c4fe0
nixpkgs.lib: Add types.strMatching
2017-12-02 13:28:00 -05:00
Ryan Trinkle
6281eb123b
nixpkgs.lib: Add escapeNixString
2017-12-02 13:28:00 -05:00
Jörg Thalheim
ae096444a2
simgrid: 3.15 -> 3.17 ( #32114 )
...
* simgrid: 3.15 -> 3.17 + clean + add options
* Add myself as maintainer
* Fix typo
2017-12-01 22:14:24 +00:00
Ingolf Wagner
4896b37236
maintainers: changed email and nice of maintainer mrVanDalo
2017-12-01 13:10:55 -03:00
Maximilian Bode
ea37640791
flink: init at 1.3.2
2017-11-29 02:01:32 +00:00
Mike Playle
3aecf95548
libamqpcpp: init at 2.7.4
2017-11-29 01:54:32 +00:00
Ilya Kolpakov
3e7a07b7a8
maintainers: add ilya-kolpakov <ilya.kolpakov@gmail.com>
2017-11-28 09:33:22 +01:00
MERCIER Michael
8fa00adf1a
Add myself as maintainer
2017-11-27 17:58:49 +01:00
Renaud
819d089772
Merge pull request #31538 from c0bw3b/pkg/libsmbios
...
libsmbios: 2.3.2 -> 2.3.3
2017-11-26 18:19:14 +01:00
Christian Kögler
88df1a6374
maintainers: add ck3d
...
Closes #32047
2017-11-26 00:45:43 +00:00
Jörg Thalheim
428f52e2d9
Merge pull request #31956 from xaverdh/master
...
oneko: init at 1.2.5
2017-11-25 16:01:56 +00:00
Renaud
9083624cfc
lib.licenses: add Open Software License
...
OSL and derivatives (AFL and NPOSL)
2017-11-25 16:08:17 +01:00
Thomas Kim Pham
bd1864aec9
kompose: init at 1.5.0 ( #32026 )
2017-11-25 14:24:52 +00:00
Jörg Thalheim
b0bf60a4e2
Merge pull request #32010 from pcarrier/pcarrier/minijail
...
minijail: init at android-8.0.0_r34
2017-11-25 10:09:09 +00:00
Pierre Carrier
cb05c04f4e
minijail: init at android-8.0.0_r34
2017-11-25 00:27:00 -05:00
Vladimír Čunát
7dfa97969a
Merge branch 'staging' (older one)
...
Hydra seems OK-ish, except that some aarch64 jobs need restarting
after qt4 timing out for the first time:
https://hydra.nixos.org/eval/1412641?compare=1412561
2017-11-24 18:36:54 +01:00
Yurii Rashkovskii
fcec492c62
gdbgui: init at 0.9.0.1
...
Feature rich browser-based frontend with data structure visualizations
(like DDD), and gdb terminal access. Compatible with C, C++, golang,
Rust, fortran. Written in Python and JavaScript
gdbgui is at the top of the GDB Front Ends
list on https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
2017-11-23 20:19:54 +07:00
Dominik Xaver Hörl
ecdc401cc3
oneko: init at 1.2.5
2017-11-23 14:07:20 +01:00
Profpatsch
8e00dcd242
lib/generators: add mkValueString to mkKeyValueDefault generator
...
This means the generation of values can now be influenced, even down from e.g.
an INI generator.
Breaks the interface of `mkKeyValueDefault` to match its interface to other
generator functions. It might me sensible to rename `mkKeyValue` and
`mkKeyValueSet` to conform to the `toX`-style of generator functions.
2017-11-22 21:53:59 +01:00
Thomas Strobel
c4aa4572f8
new license: Open Software License 3.0
2017-11-22 12:14:23 +01:00
Orivej Desh
b8e1e7191e
Merge branch 'master' into staging
...
* master: (80 commits)
lkl: Supports aarch64
wimlib: nitpicks
gitAndTools.git-codeowners: 0.1.1 -> 0.1.2
wimlib: init at 1.12.0
kernel: improve modDirVersion error message
releaseTools.sourceTarball: Clean up temporary files
dotnetPackages.SmartIrc4net: rehash source
migmix: make it a fixed-output derivation
vm: Create /dev/full
samba: 4.6.8 -> 4.6.11 to address CVEs CVE-2017-14746 & CVE-2017-15275
microcodeIntel: 20170707 -> 20171117
sshd: Remove ripemd160 MACs
kernel config: Enable MEDIA_CONTROLLER
linux: 4.4.99 -> 4.4.100
linux: 4.9.63 -> 4.9.64
nix-bash-completions: 0.4 -> 0.5
linux: 4.14 -> 4.14.1
linux: 4.13.14 -> 4.13.15
nix-zsh-completions: 0.3.3 -> 0.3.5
dns-root-data: use a stable URL that I maintain anyway
...
2017-11-21 22:48:36 +00:00
Eshin Kunishima
05ce88e6dd
migmix: init at 20150712
2017-11-21 20:28:27 +09:00
Orivej Desh
3c81b7639a
lib: delete reference to lib/sandbox.nix
...
after it was deleted in 0fe7bde3d8
2017-11-19 10:19:21 +00:00
Orivej Desh
daf8311ce1
Revert "lib: delete reference to lib/sandbox.nix"
...
This reverts commit 9ee089ae05
.
0fe7bde3d8
is not in master yet and it would break
master if it were: https://github.com/NixOS/nixpkgs/pull/31803#pullrequestreview-77638434
2017-11-19 10:14:07 +00:00
Orivej Desh
9ee089ae05
lib: delete reference to lib/sandbox.nix
...
after it was deleted in 0fe7bde3d8
2017-11-19 09:03:43 +00:00
Orivej Desh
b089c21506
Merge branch 'master' into staging
...
* master: (39 commits)
python.pkgs.pybfd: move to python-modules
documentation: python 2.6 is no more
documentation: python3Packages is python36Packages
wireguard: 0.0.20171101 -> 0.0.20171111
php_excel: init at 1.0.2
libxl: init at 3.8.1
matrix-synapse: 0.24.1 -> 0.25.1
grafana: 4.6.1 -> 4.6.2
linux: 4.4.98 -> 4.4.99
linux: 4.9.62 -> 4.9.63
linux: 4.13.13 -> 4.13.14
nixos/zsh: add the type for enableAutosuggestions option
zsh-powerlevel9k: init at 2017-11-10
fio: 3.1 -> 3.2
filebench: rehash source
nano: 2.8.7 -> 2.9.0
bonnie: replace dead source link
less: 520 -> 529
strace: 4.19 -> 4.20
iperf: 3.2 -> 3.3
...
2017-11-19 08:30:14 +00:00