mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
1912870a6e
At one point in my configuration I had: boot.kernel.sysctl = { # https://unix.stackexchange.com/questions/13019/description-of-kernel-printk-values "kernel.printk" = "4 4 1 7"; }; which triggered: error: The unique option `boot.kernel.sysctl.kernel.printk' is defined multiple times, in `/home/teto/dotfiles/nixpkgs/mptcp-unstable.nix' and `/home/teto/nixpkgs/nixos/modules/system/boot/kernel.nix'. (use ‘--show-trace’ to show detailed location information) Traceback (most recent call last): File "/home/teto/nixops/scripts/nixops", line 984, in <module> args.op() File "/home/teto/nixops/scripts/nixops", line 406, in op_deploy max_concurrent_activate=args.max_concurrent_activate) File "/home/teto/nixops/nixops/deployment.py", line 1045, in deploy self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) File "/home/teto/nixops/nixops/deployment.py", line 1034, in run_with_notify f() File "/home/teto/nixops/nixops/deployment.py", line 1045, in <lambda> self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) File "/home/teto/nixops/nixops/deployment.py", line 985, in _deploy self.configs_path = self.build_configs(dry_run=dry_run, repair=repair, include=include, exclude=exclude) File "/home/teto/nixops/nixops/deployment.py", line 653, in build_configs raise Exception("unable to build all machine configurations") Exception: unable to build all machine configurations This simple addition allows to override it. |
||
---|---|---|
.github | ||
doc | ||
lib | ||
maintainers/scripts | ||
nixos | ||
pkgs | ||
.editorconfig | ||
.gitignore | ||
.version | ||
COPYING | ||
default.nix | ||
README.md |
Nixpkgs is a collection of packages for the Nix package manager. It is periodically built and tested by the Hydra build daemon as so-called channels. To get channel information via git, add nixpkgs-channels as a remote:
% git remote add channels git://github.com/NixOS/nixpkgs-channels.git
For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. nixos-17.09
for the latest
release and nixos-unstable
for the latest successful build of master:
% git remote update channels
% git rebase channels/nixos-17.09
For pull-requests, please rebase onto nixpkgs master
.
NixOS Linux distribution source code is located inside
nixos/
folder.
- NixOS installation instructions
- Documentation (Nix Expression Language chapter)
- Manual (How to write packages for Nix)
- Manual (NixOS)
- Community maintained wiki
- Continuous package builds for unstable/master
- Continuous package builds for 17.09 release
- Tests for unstable/master
- Tests for 17.09 release
Communication: