| Commit message (Collapse) | Author | Age |
|\
| |
| | |
lib/modules: decrease mkOptionDefault priority to 1500
|
| | |
|
|\ \
| | |
| | | |
lib, nixos: fix module aliases in presence of defaults
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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 = {}; }; }`.
|
| | | |
|
|\ \ \
| | | |
| | | | |
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.
|
|\| | |
| | | |
| | | | |
xcode: add xcodeVer to system
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This version number controls which xcode version to use when building
cross to iOS.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/| |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib: bitAnd, bitOr, bitXor
* lib: test for bitAnd, bitOr, bitXor
* lib: bitsize-agnostic zipIntBits
* lib: bitNot
* lib: bitNot
|
| |
|
| |
|
|\
| |
| | |
lib: bitAnd, bitOr, bitXor
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Works fine without, and the 'DRM n' is actually preventing the mainline
VC4 driver from building.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
A merge undid my fix in d437f2c365a12fb3894eb87f52decf53c745f475.
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | | |
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.
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixed conflicts:
- lib/systems/for-meta.nix: in favor of staging
- pkgs/os-specific/darwin/xcode/default.nix: in favor of master
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
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`.
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
pkgs/top-level/all-packages.nix
|
| |\ \ \
| | | | |
| | | | | |
Androidndk
|
| | | | | |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Keep the dontCheck because the test suite fails, get rid of the LDFLAGS
hack because we don't need it!
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Fixes #40463
This is related to change 1d56d0c8a79334cd7149fd580512046558eaac78
|
|\| | | |
|
| |\ \ \
| | | | |
| | | | | |
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.
|
|\| | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
nixos: warn on missing `stateVersion`
|
| | | |_|/
| | |/| |
| | | | |
| | | | |
| | | | | |
Yeah, it's ugly. But it's the minimal change that doesn't break anything
else.
|
|\| | | | |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Forgot to adjust default so abi with explicit float attr would be used.
|
| | | | |
| | | | |
| | | | |
| | | | | |
(cherry picked from commit 827ef0914089e1a2bba140b49e1311eff28cc156)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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 827ef0914089e1a2bba140b49e1311eff28cc156.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is analogous to the GNU assertion.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Function are never equal in Nix, so we need to filter out this attribute
in ABIs.
|